home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_9_QH FullTextSearch2.txt < prev    next >
Text File  |  1995-09-30  |  496KB  |  9,038 lines

  1. # near model CODE resource
  2. # jump table entries: 60672-60712 (41 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  ED00                     asl        D0.b, 6
  5. 00000004  0000 5C4A                ori.b      D0, 0x4A /* 'J' */
  6. fn00000008:
  7. 00000008  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  8. 0000000C  266F 0014                movea.l    A3, [A7 + 0x14]
  9. 00000010  7600                     moveq.l    D3, 0x00
  10. 00000012  95CA                     sub.l      A2, A2
  11. 00000014  99CC                     sub.l      A4, A4
  12. 00000016  42AB 0014                clr.l      [A3 + 0x14]
  13. 0000001A  4878 05E8                push.l     0x5E8
  14. 0000001E  4EBA 5AEA                jsr        [PC + 0x5AEA /* 00005B0A */]
  15. 00000022  2848                     movea.l    A4, A0
  16. 00000024  200C                     move.l     D0, A4
  17. 00000026  584F                     addq.w     A7, 4
  18. 00000028  6608                     bne        +0xA /* 00000032 */
  19. 0000002A  7001                     moveq.l    D0, 0x01
  20. 0000002C  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  21. 00000030  4E75                     rts
  22. label00000032:
  23. 00000032  2F0C                     move.l     -[A7], A4
  24. 00000034  4EBA 3116                jsr        [PC + 0x3116 /* 0000314C */]
  25. 00000038  2448                     movea.l    A2, A0
  26. 0000003A  34AB 0002                move.w     [A2], [A3 + 0x2]
  27. 0000003E  256B 0004 0006           move.l     [A2 + 0x6], [A3 + 0x4]
  28. 00000044  3F12                     move.w     -[A7], [A2]
  29. 00000046  4EAD ECF8                jsr        [A5 - 0x1308]
  30. 0000004A  90AA 0006                sub.l      D0, [A2 + 0x6]
  31. 0000004E  2540 0002                move.l     [A2 + 0x2], D0
  32. 00000052  4AAA 0002                tst.l      [A2 + 0x2]
  33. 00000056  5C4F                     addq.w     A7, 6
  34. 00000058  6604                     bne        +0x6 /* 0000005E */
  35. 0000005A  7613                     moveq.l    D3, 0x13
  36. 0000005C  6040                     bra        +0x42 /* 0000009E */
  37. label0000005E:
  38. 0000005E  2F0A                     move.l     -[A7], A2
  39. 00000060  4EBA 26E8                jsr        [PC + 0x26E8 /* 0000274A */]
  40. 00000064  3600                     move.w     D3, D0
  41. 00000066  584F                     addq.w     A7, 4
  42. 00000068  6634                     bne        +0x36 /* 0000009E */
  43. 0000006A  2F0A                     move.l     -[A7], A2
  44. 0000006C  4EBA 1D30                jsr        [PC + 0x1D30 /* 00001D9E */]
  45. 00000070  357C FFFF 034C           move.w     [A2 + 0x34C], 0xFFFF
  46. 00000076  256B 0010 05BE           move.l     [A2 + 0x5BE], [A3 + 0x10]
  47. 0000007C  256B 0008 05C2           move.l     [A2 + 0x5C2], [A3 + 0x8]
  48. 00000082  2F2B 000C                move.l     -[A7], [A3 + 0xC]
  49. 00000086  2F0A                     move.l     -[A7], A2
  50. 00000088  4EBA 2948                jsr        [PC + 0x2948 /* 000029D2 */]
  51. 0000008C  3600                     move.w     D3, D0
  52. 0000008E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  53. 00000092  660A                     bne        +0xC /* 0000009E */
  54. 00000094  2F0A                     move.l     -[A7], A2
  55. 00000096  4EBA 2A4C                jsr        [PC + 0x2A4C /* 00002AE4 */]
  56. 0000009A  3600                     move.w     D3, D0
  57. 0000009C  584F                     addq.w     A7, 4
  58. label0000009E:
  59. 0000009E  2F0C                     move.l     -[A7], A4
  60. 000000A0  4EBA 30B6                jsr        [PC + 0x30B6 /* 00003158 */]
  61. 000000A4  4A43                     tst.w      D3
  62. 000000A6  584F                     addq.w     A7, 4
  63. 000000A8  670A                     beq        +0xC /* 000000B4 */
  64. 000000AA  2F0C                     move.l     -[A7], A4
  65. 000000AC  4EBA 0012                jsr        [PC + 0x12 /* 000000C0 */]
  66. 000000B0  99CC                     sub.l      A4, A4
  67. 000000B2  584F                     addq.w     A7, 4
  68. label000000B4:
  69. 000000B4  274C 0014                move.l     [A3 + 0x14], A4
  70. 000000B8  3003                     move.w     D0, D3
  71. 000000BA  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  72. 000000BE  4E75                     rts
  73. fn000000C0:
  74. 000000C0  48E7 0030                movem.l    -[A7], A2,A3
  75. 000000C4  266F 000C                movea.l    A3, [A7 + 0xC]
  76. 000000C8  95CA                     sub.l      A2, A2
  77. 000000CA  200B                     move.l     D0, A3
  78. 000000CC  6608                     bne        +0xA /* 000000D6 */
  79. 000000CE  7000                     moveq.l    D0, 0x00
  80. 000000D0  4CDF 0C00                movem.l    A2,A3, [A7]+
  81. 000000D4  4E75                     rts
  82. label000000D6:
  83. 000000D6  2F0B                     move.l     -[A7], A3
  84. 000000D8  4EBA 3072                jsr        [PC + 0x3072 /* 0000314C */]
  85. 000000DC  2448                     movea.l    A2, A0
  86. 000000DE  2F0A                     move.l     -[A7], A2
  87. 000000E0  4EBA 2A64                jsr        [PC + 0x2A64 /* 00002B46 */]
  88. 000000E4  2F0A                     move.l     -[A7], A2
  89. 000000E6  4EBA 24EC                jsr        [PC + 0x24EC /* 000025D4 */]
  90. 000000EA  2F0B                     move.l     -[A7], A3
  91. 000000EC  4EBA 306A                jsr        [PC + 0x306A /* 00003158 */]
  92. 000000F0  2F0B                     move.l     -[A7], A3
  93. 000000F2  4EBA 5A4E                jsr        [PC + 0x5A4E /* 00005B42 */]
  94. 000000F6  7000                     moveq.l    D0, 0x00
  95. 000000F8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  96. 000000FC  4CDF 0C00                movem.l    A2,A3, [A7]+
  97. 00000100  4E75                     rts
  98. 00000102  48E7 1030                movem.l    -[A7], D3,A2,A3
  99. 00000106  266F 0010                movea.l    A3, [A7 + 0x10]
  100. 0000010A  95CA                     sub.l      A2, A2
  101. 0000010C  7600                     moveq.l    D3, 0x00
  102. 0000010E  2F0B                     move.l     -[A7], A3
  103. 00000110  4EBA 303A                jsr        [PC + 0x303A /* 0000314C */]
  104. 00000114  2448                     movea.l    A2, A0
  105. 00000116  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  106. 0000011A  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  107. 0000011E  2F0A                     move.l     -[A7], A2
  108. 00000120  4EBA 31AA                jsr        [PC + 0x31AA /* 000032CC */]
  109. 00000124  3600                     move.w     D3, D0
  110. 00000126  2F0B                     move.l     -[A7], A3
  111. 00000128  4EBA 302E                jsr        [PC + 0x302E /* 00003158 */]
  112. 0000012C  3003                     move.w     D0, D3
  113. 0000012E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  114. 00000132  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  115. 00000136  4E75                     rts
  116. 00000138  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  117. 0000013C  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  118. 00000140  266F 0020                movea.l    A3, [A7 + 0x20]
  119. 00000144  99CC                     sub.l      A4, A4
  120. 00000146  95CA                     sub.l      A2, A2
  121. 00000148  2F0E                     move.l     -[A7], A6
  122. 0000014A  4EBA 3000                jsr        [PC + 0x3000 /* 0000314C */]
  123. 0000014E  2448                     movea.l    A2, A0
  124. 00000150  284A                     movea.l    A4, A2
  125. 00000152  49EC 009C                lea.l      A4, [A4 + 0x9C]
  126. 00000156  4A94                     tst.l      [A4]
  127. 00000158  584F                     addq.w     A7, 4
  128. 0000015A  6724                     beq        +0x26 /* 00000180 */
  129. 0000015C  282A 0010                move.l     D4, [A2 + 0x10]
  130. 00000160  2F14                     move.l     -[A7], [A4]
  131. 00000162  4EBA 59FA                jsr        [PC + 0x59FA /* 00005B5E */]
  132. 00000166  2448                     movea.l    A2, A0
  133. 00000168  7600                     moveq.l    D3, 0x00
  134. 0000016A  584F                     addq.w     A7, 4
  135. 0000016C  6006                     bra        +0x8 /* 00000174 */
  136. label0000016E:
  137. 0000016E  101A                     move.b     D0, [A2]+
  138. 00000170  C11B                     .incomplete
  139. 00000172  5283                     addq.l     D3, 1
  140. label00000174:
  141. 00000174  B684                     cmp.l      D3, D4
  142. 00000176  6DF6                     blt        -0x8 /* 0000016E */
  143. 00000178  2F14                     move.l     -[A7], [A4]
  144. 0000017A  4EBA 5A08                jsr        [PC + 0x5A08 /* 00005B84 */]
  145. 0000017E  584F                     addq.w     A7, 4
  146. label00000180:
  147. 00000180  2F0E                     move.l     -[A7], A6
  148. 00000182  4EBA 2FD4                jsr        [PC + 0x2FD4 /* 00003158 */]
  149. 00000186  7000                     moveq.l    D0, 0x00
  150. 00000188  584F                     addq.w     A7, 4
  151. 0000018A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  152. 0000018E  4E75                     rts
  153. 00000190  2F0A                     move.l     -[A7], A2
  154. 00000192  95CA                     sub.l      A2, A2
  155. 00000194  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  156. 00000198  4EBA 2FB2                jsr        [PC + 0x2FB2 /* 0000314C */]
  157. 0000019C  2448                     movea.l    A2, A0
  158. 0000019E  206F 0010                movea.l    A0, [A7 + 0x10]
  159. 000001A2  20AA 0034                move.l     [A0], [A2 + 0x34]
  160. 000001A6  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  161. 000001AA  4EBA 2FAC                jsr        [PC + 0x2FAC /* 00003158 */]
  162. 000001AE  7000                     moveq.l    D0, 0x00
  163. 000001B0  504F                     addq.w     A7, 8
  164. 000001B2  245F                     movea.l    A2, [A7]+
  165. 000001B4  4E75                     rts
  166. fn000001B6:
  167. 000001B6  48E7 1030                movem.l    -[A7], D3,A2,A3
  168. 000001BA  266F 0010                movea.l    A3, [A7 + 0x10]
  169. 000001BE  95CA                     sub.l      A2, A2
  170. 000001C0  2F0B                     move.l     -[A7], A3
  171. 000001C2  4EBA 2F88                jsr        [PC + 0x2F88 /* 0000314C */]
  172. 000001C6  2448                     movea.l    A2, A0
  173. 000001C8  262A 000C                move.l     D3, [A2 + 0xC]
  174. 000001CC  2F0B                     move.l     -[A7], A3
  175. 000001CE  4EBA 2F88                jsr        [PC + 0x2F88 /* 00003158 */]
  176. 000001D2  2003                     move.l     D0, D3
  177. 000001D4  504F                     addq.w     A7, 8
  178. 000001D6  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  179. 000001DA  4E75                     rts
  180. fn000001DC:
  181. 000001DC  48E7 1030                movem.l    -[A7], D3,A2,A3
  182. 000001E0  266F 0010                movea.l    A3, [A7 + 0x10]
  183. 000001E4  95CA                     sub.l      A2, A2
  184. 000001E6  2F0B                     move.l     -[A7], A3
  185. 000001E8  4EBA 2F62                jsr        [PC + 0x2F62 /* 0000314C */]
  186. 000001EC  2448                     movea.l    A2, A0
  187. 000001EE  262A 0010                move.l     D3, [A2 + 0x10]
  188. 000001F2  2F0B                     move.l     -[A7], A3
  189. 000001F4  4EBA 2F62                jsr        [PC + 0x2F62 /* 00003158 */]
  190. 000001F8  2003                     move.l     D0, D3
  191. 000001FA  504F                     addq.w     A7, 8
  192. 000001FC  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  193. 00000200  4E75                     rts
  194. fn00000202:
  195. 00000202  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  196. 00000206  286F 0014                movea.l    A4, [A7 + 0x14]
  197. 0000020A  246F 0018                movea.l    A2, [A7 + 0x18]
  198. 0000020E  7600                     moveq.l    D3, 0x00
  199. 00000210  97CB                     sub.l      A3, A3
  200. 00000212  2F0C                     move.l     -[A7], A4
  201. 00000214  4EBA 2F36                jsr        [PC + 0x2F36 /* 0000314C */]
  202. 00000218  2648                     movea.l    A3, A0
  203. 0000021A  4A6A 0004                tst.w      [A2 + 0x4]
  204. 0000021E  584F                     addq.w     A7, 4
  205. 00000220  6622                     bne        +0x24 /* 00000244 */
  206. 00000222  4A6A 0030                tst.w      [A2 + 0x30]
  207. 00000226  670E                     beq        +0x10 /* 00000236 */
  208. 00000228  2F0A                     move.l     -[A7], A2
  209. 0000022A  2F0B                     move.l     -[A7], A3
  210. 0000022C  4EBA 153A                jsr        [PC + 0x153A /* 00001768 */]
  211. 00000230  3600                     move.w     D3, D0
  212. 00000232  504F                     addq.w     A7, 8
  213. 00000234  602E                     bra        +0x30 /* 00000264 */
  214. label00000236:
  215. 00000236  2F0A                     move.l     -[A7], A2
  216. 00000238  2F0B                     move.l     -[A7], A3
  217. 0000023A  4EBA 12AC                jsr        [PC + 0x12AC /* 000014E8 */]
  218. 0000023E  3600                     move.w     D3, D0
  219. 00000240  504F                     addq.w     A7, 8
  220. 00000242  6020                     bra        +0x22 /* 00000264 */
  221. label00000244:
  222. 00000244  4A6A 0030                tst.w      [A2 + 0x30]
  223. 00000248  670E                     beq        +0x10 /* 00000258 */
  224. 0000024A  2F0A                     move.l     -[A7], A2
  225. 0000024C  2F0B                     move.l     -[A7], A3
  226. 0000024E  4EBA 1888                jsr        [PC + 0x1888 /* 00001AD8 */]
  227. 00000252  3600                     move.w     D3, D0
  228. 00000254  504F                     addq.w     A7, 8
  229. 00000256  600C                     bra        +0xE /* 00000264 */
  230. label00000258:
  231. 00000258  2F0A                     move.l     -[A7], A2
  232. 0000025A  2F0B                     move.l     -[A7], A3
  233. 0000025C  4EBA 1794                jsr        [PC + 0x1794 /* 000019F2 */]
  234. 00000260  3600                     move.w     D3, D0
  235. 00000262  504F                     addq.w     A7, 8
  236. label00000264:
  237. 00000264  2F0C                     move.l     -[A7], A4
  238. 00000266  4EBA 2EF0                jsr        [PC + 0x2EF0 /* 00003158 */]
  239. 0000026A  3003                     move.w     D0, D3
  240. 0000026C  584F                     addq.w     A7, 4
  241. 0000026E  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  242. 00000272  4E75                     rts
  243. 00000274  2F0A                     move.l     -[A7], A2
  244. 00000276  95CA                     sub.l      A2, A2
  245. 00000278  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  246. 0000027C  4EBA 2ECE                jsr        [PC + 0x2ECE /* 0000314C */]
  247. 00000280  2448                     movea.l    A2, A0
  248. 00000282  52AA 032C                addq.l     [A2 + 0x32C], 1
  249. 00000286  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  250. 0000028A  4EBA 2ECC                jsr        [PC + 0x2ECC /* 00003158 */]
  251. 0000028E  504F                     addq.w     A7, 8
  252. 00000290  245F                     movea.l    A2, [A7]+
  253. 00000292  4E75                     rts
  254. fn00000294:
  255. 00000294  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  256. 00000298  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  257. 0000029C  266F 0044                movea.l    A3, [A7 + 0x44]
  258. 000002A0  95CA                     sub.l      A2, A2
  259. 000002A2  9DCE                     sub.l      A6, A6
  260. 000002A4  426F 0004                clr.w      [A7 + 0x4]
  261. 000002A8  7680                     moveq.l    D3, 0xFFFFFF80
  262. 000002AA  1F7C FF80 0013           move.b     [A7 + 0x13], 0x80
  263. 000002B0  42AF 000E                clr.l      [A7 + 0xE]
  264. 000002B4  7C00                     moveq.l    D6, 0x00
  265. 000002B6  42AF 0006                clr.l      [A7 + 0x6]
  266. 000002BA  2F2F 003C                move.l     -[A7], [A7 + 0x3C]
  267. 000002BE  4EBA 2E8C                jsr        [PC + 0x2E8C /* 0000314C */]
  268. 000002C2  2F48 000A                move.l     [A7 + 0xA], A0
  269. 000002C6  2F28 00A0                move.l     -[A7], [A0 + 0xA0]
  270. 000002CA  4EBA 5892                jsr        [PC + 0x5892 /* 00005B5E */]
  271. 000002CE  2448                     movea.l    A2, A0
  272. 000002D0  2C6F 0048                movea.l    A6, [A7 + 0x48]
  273. 000002D4  206F 000E                movea.l    A0, [A7 + 0xE]
  274. 000002D8  2028 0034                move.l     D0, [A0 + 0x34]
  275. 000002DC  E680                     asr        D0, 3
  276. 000002DE  E788                     lsl        D0, 3
  277. 000002E0  2F40 0008                move.l     [A7 + 0x8], D0
  278. 000002E4  2028 0034                move.l     D0, [A0 + 0x34]
  279. 000002E8  7208                     moveq.l    D1, 0x08
  280. 000002EA  4EAD D910                jsr        [A5 - 0x26F0]
  281. 000002EE  D0AF 0008                add.l      D0, [A7 + 0x8]
  282. 000002F2  2840                     movea.l    A4, D0
  283. 000002F4  2028 0038                move.l     D0, [A0 + 0x38]
  284. 000002F8  E680                     asr        D0, 3
  285. 000002FA  E788                     lsl        D0, 3
  286. 000002FC  2F40 0008                move.l     [A7 + 0x8], D0
  287. 00000300  2028 0038                move.l     D0, [A0 + 0x38]
  288. 00000304  7208                     moveq.l    D1, 0x08
  289. 00000306  4EAD D910                jsr        [A5 - 0x26F0]
  290. 0000030A  D0AF 0008                add.l      D0, [A7 + 0x8]
  291. 0000030E  2F40 0012                move.l     [A7 + 0x12], D0
  292. 00000312  7E00                     moveq.l    D7, 0x00
  293. 00000314  504F                     addq.w     A7, 8
  294. 00000316  6000 009C                bra        +0x9E /* 000003B4 */
  295. label0000031A:
  296. 0000031A  1016                     move.b     D0, [A6]
  297. 0000031C  4880                     ext.w      D0
  298. 0000031E  48C0                     ext.l      D0
  299. 00000320  122F 0013                move.b     D1, [A7 + 0x13]
  300. 00000324  4881                     ext.w      D1
  301. 00000326  48C1                     ext.l      D1
  302. 00000328  C280                     and.l      D1, D0
  303. 0000032A  675E                     beq        +0x60 /* 0000038A */
  304. 0000032C  7A00                     moveq.l    D5, 0x00
  305. 0000032E  282F 000E                move.l     D4, [A7 + 0xE]
  306. 00000332  604A                     bra        +0x4C /* 0000037E */
  307. label00000334:
  308. 00000334  1012                     move.b     D0, [A2]
  309. 00000336  4880                     ext.w      D0
  310. 00000338  48C0                     ext.l      D0
  311. 0000033A  1203                     move.b     D1, D3
  312. 0000033C  4881                     ext.w      D1
  313. 0000033E  48C1                     ext.l      D1
  314. 00000340  C280                     and.l      D1, D0
  315. 00000342  671A                     beq        +0x1C /* 0000035E */
  316. 00000344  BE86                     cmp.l      D7, D6
  317. 00000346  6614                     bne        +0x16 /* 0000035C */
  318. 00000348  2004                     move.l     D0, D4
  319. 0000034A  7208                     moveq.l    D1, 0x08
  320. 0000034C  4EAD D910                jsr        [A5 - 0x26F0]
  321. 00000350  7207                     moveq.l    D1, 0x07
  322. 00000352  9280                     sub.l      D1, D0
  323. 00000354  7001                     moveq.l    D0, 0x01
  324. 00000356  E3A8                     lsl        D0, D1
  325. 00000358  8113                     or.b       [A3], D0
  326. 0000035A  7A01                     moveq.l    D5, 0x01
  327. label0000035C:
  328. 0000035C  5286                     addq.l     D6, 1
  329. label0000035E:
  330. 0000035E  1003                     move.b     D0, D3
  331. 00000360  4880                     ext.w      D0
  332. 00000362  48C0                     ext.l      D0
  333. 00000364  4680                     not.l      D0
  334. 00000366  1203                     move.b     D1, D3
  335. 00000368  4881                     ext.w      D1
  336. 0000036A  48C1                     ext.l      D1
  337. 0000036C  E281                     asr        D1, 1
  338. 0000036E  C280                     and.l      D1, D0
  339. 00000370  1601                     move.b     D3, D1
  340. 00000372  4A03                     tst.b      D3
  341. 00000374  6606                     bne        +0x8 /* 0000037C */
  342. 00000376  528A                     addq.l     A2, 1
  343. 00000378  528B                     addq.l     A3, 1
  344. 0000037A  7680                     moveq.l    D3, 0xFFFFFF80
  345. label0000037C:
  346. 0000037C  5284                     addq.l     D4, 1
  347. label0000037E:
  348. 0000037E  B88C                     cmp.l      D4, A4
  349. 00000380  6C04                     bge        +0x6 /* 00000386 */
  350. 00000382  4A45                     tst.w      D5
  351. 00000384  67AE                     beq        -0x50 /* 00000334 */
  352. label00000386:
  353. 00000386  2F44 000E                move.l     [A7 + 0xE], D4
  354. label0000038A:
  355. 0000038A  102F 0013                move.b     D0, [A7 + 0x13]
  356. 0000038E  4880                     ext.w      D0
  357. 00000390  48C0                     ext.l      D0
  358. 00000392  4680                     not.l      D0
  359. 00000394  122F 0013                move.b     D1, [A7 + 0x13]
  360. 00000398  4881                     ext.w      D1
  361. 0000039A  48C1                     ext.l      D1
  362. 0000039C  E281                     asr        D1, 1
  363. 0000039E  C280                     and.l      D1, D0
  364. 000003A0  1F41 0013                move.b     [A7 + 0x13], D1
  365. 000003A4  4A2F 0013                tst.b      [A7 + 0x13]
  366. 000003A8  6608                     bne        +0xA /* 000003B2 */
  367. 000003AA  528E                     addq.l     A6, 1
  368. 000003AC  1F7C FF80 0013           move.b     [A7 + 0x13], 0x80
  369. label000003B2:
  370. 000003B2  5287                     addq.l     D7, 1
  371. label000003B4:
  372. 000003B4  BEAF 000A                cmp.l      D7, [A7 + 0xA]
  373. 000003B8  6D00 FF60                blt        -0x9E /* 0000031A */
  374. 000003BC  206F 0006                movea.l    A0, [A7 + 0x6]
  375. 000003C0  2F28 00A0                move.l     -[A7], [A0 + 0xA0]
  376. 000003C4  4EBA 57BE                jsr        [PC + 0x57BE /* 00005B84 */]
  377. 000003C8  2F2F 0040                move.l     -[A7], [A7 + 0x40]
  378. 000003CC  4EBA 2D8A                jsr        [PC + 0x2D8A /* 00003158 */]
  379. 000003D0  302F 000C                move.w     D0, [A7 + 0xC]
  380. 000003D4  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  381. 000003D8  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  382. 000003DC  4E75                     rts
  383. 000003DE  48E7 1030                movem.l    -[A7], D3,A2,A3
  384. 000003E2  266F 0010                movea.l    A3, [A7 + 0x10]
  385. 000003E6  95CA                     sub.l      A2, A2
  386. 000003E8  7600                     moveq.l    D3, 0x00
  387. 000003EA  2F0B                     move.l     -[A7], A3
  388. 000003EC  4EBA 2D5E                jsr        [PC + 0x2D5E /* 0000314C */]
  389. 000003F0  2448                     movea.l    A2, A0
  390. 000003F2  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  391. 000003F6  2F0A                     move.l     -[A7], A2
  392. 000003F8  4EBA 2E50                jsr        [PC + 0x2E50 /* 0000324A */]
  393. 000003FC  2600                     move.l     D3, D0
  394. 000003FE  2F0B                     move.l     -[A7], A3
  395. 00000400  4EBA 2D4A                jsr        [PC + 0x2D4A /* 0000314C */]
  396. 00000404  2448                     movea.l    A2, A0
  397. 00000406  2003                     move.l     D0, D3
  398. 00000408  4FEF 0010                lea.l      A7, [A7 + 0x10]
  399. 0000040C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  400. 00000410  4E75                     rts
  401. fn00000412:
  402. 00000412  48E7 1030                movem.l    -[A7], D3,A2,A3
  403. 00000416  266F 0010                movea.l    A3, [A7 + 0x10]
  404. 0000041A  95CA                     sub.l      A2, A2
  405. 0000041C  2F0B                     move.l     -[A7], A3
  406. 0000041E  4EBA 2D2C                jsr        [PC + 0x2D2C /* 0000314C */]
  407. 00000422  2448                     movea.l    A2, A0
  408. 00000424  262A 0038                move.l     D3, [A2 + 0x38]
  409. 00000428  2F0B                     move.l     -[A7], A3
  410. 0000042A  4EBA 2D2C                jsr        [PC + 0x2D2C /* 00003158 */]
  411. 0000042E  2003                     move.l     D0, D3
  412. 00000430  504F                     addq.w     A7, 8
  413. 00000432  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  414. 00000436  4E75                     rts
  415. fn00000438:
  416. 00000438  2F0A                     move.l     -[A7], A2
  417. 0000043A  95CA                     sub.l      A2, A2
  418. 0000043C  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  419. 00000440  4EBA 2D0A                jsr        [PC + 0x2D0A /* 0000314C */]
  420. 00000444  2448                     movea.l    A2, A0
  421. 00000446  206F 0010                movea.l    A0, [A7 + 0x10]
  422. 0000044A  20AA 0340                move.l     [A0], [A2 + 0x340]
  423. 0000044E  206F 0014                movea.l    A0, [A7 + 0x14]
  424. 00000452  30AA 004A                move.w     [A0], [A2 + 0x4A]
  425. 00000456  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  426. 0000045A  4EBA 2CFC                jsr        [PC + 0x2CFC /* 00003158 */]
  427. 0000045E  7000                     moveq.l    D0, 0x00
  428. 00000460  504F                     addq.w     A7, 8
  429. 00000462  245F                     movea.l    A2, [A7]+
  430. 00000464  4E75                     rts
  431. 00000466  2F0A                     move.l     -[A7], A2
  432. 00000468  95CA                     sub.l      A2, A2
  433. 0000046A  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  434. 0000046E  4EBA 2CDC                jsr        [PC + 0x2CDC /* 0000314C */]
  435. 00000472  2448                     movea.l    A2, A0
  436. 00000474  206F 0010                movea.l    A0, [A7 + 0x10]
  437. 00000478  20AA 05B2                move.l     [A0], [A2 + 0x5B2]
  438. 0000047C  206F 0014                movea.l    A0, [A7 + 0x14]
  439. 00000480  30AA 05BC                move.w     [A0], [A2 + 0x5BC]
  440. 00000484  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  441. 00000488  4EBA 2CCE                jsr        [PC + 0x2CCE /* 00003158 */]
  442. 0000048C  7000                     moveq.l    D0, 0x00
  443. 0000048E  504F                     addq.w     A7, 8
  444. 00000490  245F                     movea.l    A2, [A7]+
  445. 00000492  4E75                     rts
  446. 00000494  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  447. 00000498  2C6F 0018                movea.l    A6, [A7 + 0x18]
  448. 0000049C  266F 001C                movea.l    A3, [A7 + 0x1C]
  449. 000004A0  95CA                     sub.l      A2, A2
  450. 000004A2  99CC                     sub.l      A4, A4
  451. 000004A4  2F0E                     move.l     -[A7], A6
  452. 000004A6  4EBA 2CA4                jsr        [PC + 0x2CA4 /* 0000314C */]
  453. 000004AA  2848                     movea.l    A4, A0
  454. 000004AC  244C                     movea.l    A2, A4
  455. 000004AE  45EA 054E                lea.l      A2, [A2 + 0x54E]
  456. 000004B2  7600                     moveq.l    D3, 0x00
  457. 000004B4  584F                     addq.w     A7, 4
  458. 000004B6  6014                     bra        +0x16 /* 000004CC */
  459. label000004B8:
  460. 000004B8  41D2                     lea.l      A0, [A2]
  461. 000004BA  43D3                     lea.l      A1, [A3]
  462. 000004BC  7004                     moveq.l    D0, 0x04
  463. label000004BE:
  464. 000004BE  22D8                     move.l     [A1]+, [A0]+
  465. 000004C0  51C8 FFFC                dbf        D0, -0x6 /* 000004BE */
  466. 000004C4  5243                     addq.w     D3, 1
  467. 000004C6  7014                     moveq.l    D0, 0x14
  468. 000004C8  D5C0                     add.l      A2, D0
  469. 000004CA  D7C0                     add.l      A3, D0
  470. label000004CC:
  471. 000004CC  3003                     move.w     D0, D3
  472. 000004CE  48C0                     ext.l      D0
  473. 000004D0  7205                     moveq.l    D1, 0x05
  474. 000004D2  B081                     cmp.l      D0, D1
  475. 000004D4  6DE2                     blt        -0x1C /* 000004B8 */
  476. 000004D6  2F0E                     move.l     -[A7], A6
  477. 000004D8  4EBA 2C7E                jsr        [PC + 0x2C7E /* 00003158 */]
  478. 000004DC  7000                     moveq.l    D0, 0x00
  479. 000004DE  584F                     addq.w     A7, 4
  480. 000004E0  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  481. 000004E4  4E75                     rts
  482. fn000004E6:
  483. 000004E6  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  484. 000004EA  266F 0020                movea.l    A3, [A7 + 0x20]
  485. 000004EE  2A2F 0024                move.l     D5, [A7 + 0x24]
  486. 000004F2  286F 0028                movea.l    A4, [A7 + 0x28]
  487. 000004F6  2C6F 002C                movea.l    A6, [A7 + 0x2C]
  488. 000004FA  7600                     moveq.l    D3, 0x00
  489. 000004FC  2805                     move.l     D4, D5
  490. 000004FE  E084                     asr        D4, 8
  491. 00000500  E684                     asr        D4, 3
  492. 00000502  E08C                     lsr        D4, 8
  493. 00000504  E08C                     lsr        D4, 8
  494. 00000506  E88C                     lsr        D4, 4
  495. 00000508  D885                     add.l      D4, D5
  496. 0000050A  E084                     asr        D4, 8
  497. 0000050C  E884                     asr        D4, 4
  498. 0000050E  2004                     move.l     D0, D4
  499. 00000510  720C                     moveq.l    D1, 0x0C
  500. 00000512  E3A8                     lsl        D0, D1
  501. 00000514  2C80                     move.l     [A6], D0
  502. 00000516  2005                     move.l     D0, D5
  503. 00000518  9096                     sub.l      D0, [A6]
  504. 0000051A  206F 0030                movea.l    A0, [A7 + 0x30]
  505. 0000051E  2080                     move.l     [A0], D0
  506. 00000520  2F04                     move.l     -[A7], D4
  507. 00000522  2F0B                     move.l     -[A7], A3
  508. 00000524  4EBA 0EBA                jsr        [PC + 0xEBA /* 000013E0 */]
  509. 00000528  3880                     move.w     [A4], D0
  510. 0000052A  0C54 FFFF                cmpi.w     [A4], 0xFFFF
  511. 0000052E  504F                     addq.w     A7, 8
  512. 00000530  6618                     bne        +0x1A /* 0000054A */
  513. 00000532  2F0B                     move.l     -[A7], A3
  514. 00000534  4EBA 0F1E                jsr        [PC + 0xF1E /* 00001454 */]
  515. 00000538  3880                     move.w     [A4], D0
  516. 0000053A  700C                     moveq.l    D0, 0x0C
  517. 0000053C  C1D4                     muls.w     D0, [A4]
  518. 0000053E  244B                     movea.l    A2, A3
  519. 00000540  D5C0                     add.l      A2, D0
  520. 00000542  45EA 00B8                lea.l      A2, [A2 + 0xB8]
  521. 00000546  584F                     addq.w     A7, 4
  522. 00000548  6022                     bra        +0x24 /* 0000056C */
  523. label0000054A:
  524. 0000054A  700C                     moveq.l    D0, 0x0C
  525. 0000054C  C1D4                     muls.w     D0, [A4]
  526. 0000054E  244B                     movea.l    A2, A3
  527. 00000550  D5C0                     add.l      A2, D0
  528. 00000552  45EA 00B8                lea.l      A2, [A2 + 0xB8]
  529. 00000556  4A92                     tst.l      [A2]
  530. 00000558  6712                     beq        +0x14 /* 0000056C */
  531. 0000055A  594F                     subq.w     A7, 4
  532. 0000055C  A975                     syscall    TickCount
  533. 0000055E  201F                     move.l     D0, [A7]+
  534. 00000560  2540 0004                move.l     [A2 + 0x4], D0
  535. 00000564  7000                     moveq.l    D0, 0x00
  536. 00000566  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  537. 0000056A  4E75                     rts
  538. label0000056C:
  539. 0000056C  594F                     subq.w     A7, 4
  540. 0000056E  A975                     syscall    TickCount
  541. 00000570  201F                     move.l     D0, [A7]+
  542. 00000572  2540 0004                move.l     [A2 + 0x4], D0
  543. 00000576  2544 0008                move.l     [A2 + 0x8], D4
  544. 0000057A  4A92                     tst.l      [A2]
  545. 0000057C  6612                     bne        +0x14 /* 00000590 */
  546. 0000057E  4878 1000                push.l     0x1000
  547. 00000582  4EBA 5586                jsr        [PC + 0x5586 /* 00005B0A */]
  548. 00000586  2488                     move.l     [A2], A0
  549. 00000588  4A92                     tst.l      [A2]
  550. 0000058A  584F                     addq.w     A7, 4
  551. 0000058C  6602                     bne        +0x4 /* 00000590 */
  552. 0000058E  7601                     moveq.l    D3, 0x01
  553. label00000590:
  554. 00000590  4A43                     tst.w      D3
  555. 00000592  6660                     bne        +0x62 /* 000005F4 */
  556. 00000594  282B 0006                move.l     D4, [A3 + 0x6]
  557. 00000598  D896                     add.l      D4, [A6]
  558. 0000059A  2F12                     move.l     -[A7], [A2]
  559. 0000059C  4EBA 55C0                jsr        [PC + 0x55C0 /* 00005B5E */]
  560. 000005A0  2848                     movea.l    A4, A0
  561. 000005A2  4878 1000                push.l     0x1000
  562. 000005A6  42A7                     clr.l      -[A7]
  563. 000005A8  2F0C                     move.l     -[A7], A4
  564. 000005AA  4EAD D94C                jsr        [A5 - 0x26B4]
  565. 000005AE  4267                     clr.w      -[A7]
  566. 000005B0  2F04                     move.l     -[A7], D4
  567. 000005B2  3F13                     move.w     -[A7], [A3]
  568. 000005B4  4EAD ECF0                jsr        [A5 - 0x1310]
  569. 000005B8  5280                     addq.l     D0, 1
  570. 000005BA  4FEF 0018                lea.l      A7, [A7 + 0x18]
  571. 000005BE  6604                     bne        +0x6 /* 000005C4 */
  572. 000005C0  7603                     moveq.l    D3, 0x03
  573. 000005C2  6028                     bra        +0x2A /* 000005EC */
  574. label000005C4:
  575. 000005C4  4878 1000                push.l     0x1000
  576. 000005C8  2F0C                     move.l     -[A7], A4
  577. 000005CA  3F13                     move.w     -[A7], [A3]
  578. 000005CC  4EAD ECE8                jsr        [A5 - 0x1318]
  579. 000005D0  0C80 0000 1000           cmpi.l     D0, 0x1000
  580. 000005D6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  581. 000005DA  6C10                     bge        +0x12 /* 000005EC */
  582. 000005DC  2016                     move.l     D0, [A6]
  583. 000005DE  0680 0000 1000           addi.l     D0, 0x1000
  584. 000005E4  B0AB 0002                cmp.l      D0, [A3 + 0x2]
  585. 000005E8  6C02                     bge        +0x4 /* 000005EC */
  586. 000005EA  7604                     moveq.l    D3, 0x04
  587. label000005EC:
  588. 000005EC  2F12                     move.l     -[A7], [A2]
  589. 000005EE  4EBA 5594                jsr        [PC + 0x5594 /* 00005B84 */]
  590. 000005F2  584F                     addq.w     A7, 4
  591. label000005F4:
  592. 000005F4  3003                     move.w     D0, D3
  593. 000005F6  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  594. 000005FA  4E75                     rts
  595. fn000005FC:
  596. 000005FC  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  597. 00000600  246F 0020                movea.l    A2, [A7 + 0x20]
  598. 00000604  282F 0024                move.l     D4, [A7 + 0x24]
  599. 00000608  286F 0028                movea.l    A4, [A7 + 0x28]
  600. 0000060C  7600                     moveq.l    D3, 0x00
  601. 0000060E  3F04                     move.w     -[A7], D4
  602. 00000610  2F0A                     move.l     -[A7], A2
  603. 00000612  4EBA 0E04                jsr        [PC + 0xE04 /* 00001418 */]
  604. 00000616  3880                     move.w     [A4], D0
  605. 00000618  0C54 FFFF                cmpi.w     [A4], 0xFFFF
  606. 0000061C  5C4F                     addq.w     A7, 6
  607. 0000061E  6618                     bne        +0x1A /* 00000638 */
  608. 00000620  2F0A                     move.l     -[A7], A2
  609. 00000622  4EBA 0E7A                jsr        [PC + 0xE7A /* 0000149E */]
  610. 00000626  3880                     move.w     [A4], D0
  611. 00000628  700C                     moveq.l    D0, 0x0C
  612. 0000062A  C1D4                     muls.w     D0, [A4]
  613. 0000062C  264A                     movea.l    A3, A2
  614. 0000062E  D7C0                     add.l      A3, D0
  615. 00000630  47EB 0224                lea.l      A3, [A3 + 0x224]
  616. 00000634  584F                     addq.w     A7, 4
  617. 00000636  6022                     bra        +0x24 /* 0000065A */
  618. label00000638:
  619. 00000638  700C                     moveq.l    D0, 0x0C
  620. 0000063A  C1D4                     muls.w     D0, [A4]
  621. 0000063C  264A                     movea.l    A3, A2
  622. 0000063E  D7C0                     add.l      A3, D0
  623. 00000640  47EB 0224                lea.l      A3, [A3 + 0x224]
  624. 00000644  4A93                     tst.l      [A3]
  625. 00000646  6712                     beq        +0x14 /* 0000065A */
  626. 00000648  594F                     subq.w     A7, 4
  627. 0000064A  A975                     syscall    TickCount
  628. 0000064C  201F                     move.l     D0, [A7]+
  629. 0000064E  2740 0004                move.l     [A3 + 0x4], D0
  630. 00000652  7000                     moveq.l    D0, 0x00
  631. 00000654  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  632. 00000658  4E75                     rts
  633. label0000065A:
  634. 0000065A  594F                     subq.w     A7, 4
  635. 0000065C  A975                     syscall    TickCount
  636. 0000065E  201F                     move.l     D0, [A7]+
  637. 00000660  2740 0004                move.l     [A3 + 0x4], D0
  638. 00000664  2744 0008                move.l     [A3 + 0x8], D4
  639. 00000668  4A93                     tst.l      [A3]
  640. 0000066A  6612                     bne        +0x14 /* 0000067E */
  641. 0000066C  2F2A 05C6                move.l     -[A7], [A2 + 0x5C6]
  642. 00000670  4EBA 5498                jsr        [PC + 0x5498 /* 00005B0A */]
  643. 00000674  2688                     move.l     [A3], A0
  644. 00000676  4A93                     tst.l      [A3]
  645. 00000678  584F                     addq.w     A7, 4
  646. 0000067A  6602                     bne        +0x4 /* 0000067E */
  647. 0000067C  7601                     moveq.l    D3, 0x01
  648. label0000067E:
  649. 0000067E  4A43                     tst.w      D3
  650. 00000680  6600 00AE                bne        +0xB0 /* 00000730 */
  651. 00000684  7A01                     moveq.l    D5, 0x01
  652. 00000686  4AAA 0018                tst.l      [A2 + 0x18]
  653. 0000068A  661C                     bne        +0x1E /* 000006A8 */
  654. 0000068C  3F3C 0001                move.w     -[A7], 0x1
  655. 00000690  2F0A                     move.l     -[A7], A2
  656. 00000692  4EBA 28EE                jsr        [PC + 0x28EE /* 00002F82 */]
  657. 00000696  2848                     movea.l    A4, A0
  658. 00000698  2004                     move.l     D0, D4
  659. 0000069A  7214                     moveq.l    D1, 0x14
  660. 0000069C  4EAD D8F8                jsr        [A5 - 0x2708]
  661. 000006A0  D9C0                     add.l      A4, D0
  662. 000006A2  7A00                     moveq.l    D5, 0x00
  663. 000006A4  5C4F                     addq.w     A7, 6
  664. 000006A6  6010                     bra        +0x12 /* 000006B8 */
  665. label000006A8:
  666. 000006A8  2004                     move.l     D0, D4
  667. 000006AA  7214                     moveq.l    D1, 0x14
  668. 000006AC  4EAD D8F8                jsr        [A5 - 0x2708]
  669. 000006B0  206A 0018                movea.l    A0, [A2 + 0x18]
  670. 000006B4  D1C0                     add.l      A0, D0
  671. 000006B6  2848                     movea.l    A4, A0
  672. label000006B8:
  673. 000006B8  282A 0006                move.l     D4, [A2 + 0x6]
  674. 000006BC  D894                     add.l      D4, [A4]
  675. 000006BE  2F13                     move.l     -[A7], [A3]
  676. 000006C0  4EBA 549C                jsr        [PC + 0x549C /* 00005B5E */]
  677. 000006C4  2C48                     movea.l    A6, A0
  678. 000006C6  4267                     clr.w      -[A7]
  679. 000006C8  2F04                     move.l     -[A7], D4
  680. 000006CA  3F12                     move.w     -[A7], [A2]
  681. 000006CC  4EAD ECF0                jsr        [A5 - 0x1310]
  682. 000006D0  5280                     addq.l     D0, 1
  683. 000006D2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  684. 000006D6  6604                     bne        +0x6 /* 000006DC */
  685. 000006D8  7603                     moveq.l    D3, 0x03
  686. 000006DA  603E                     bra        +0x40 /* 0000071A */
  687. label000006DC:
  688. 000006DC  2F2A 05C6                move.l     -[A7], [A2 + 0x5C6]
  689. 000006E0  2F0E                     move.l     -[A7], A6
  690. 000006E2  3F12                     move.w     -[A7], [A2]
  691. 000006E4  4EAD ECE8                jsr        [A5 - 0x1318]
  692. 000006E8  2800                     move.l     D4, D0
  693. 000006EA  B8AA 05C6                cmp.l      D4, [A2 + 0x5C6]
  694. 000006EE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  695. 000006F2  6C26                     bge        +0x28 /* 0000071A */
  696. 000006F4  2014                     move.l     D0, [A4]
  697. 000006F6  D0AA 05C6                add.l      D0, [A2 + 0x5C6]
  698. 000006FA  B0AA 0002                cmp.l      D0, [A2 + 0x2]
  699. 000006FE  6C04                     bge        +0x6 /* 00000704 */
  700. 00000700  7604                     moveq.l    D3, 0x04
  701. 00000702  6016                     bra        +0x18 /* 0000071A */
  702. label00000704:
  703. 00000704  202A 05C6                move.l     D0, [A2 + 0x5C6]
  704. 00000708  9084                     sub.l      D0, D4
  705. 0000070A  2F00                     move.l     -[A7], D0
  706. 0000070C  42A7                     clr.l      -[A7]
  707. 0000070E  4876 4800                pea.l      [A6 + D4]
  708. 00000712  4EAD D94C                jsr        [A5 - 0x26B4]
  709. 00000716  4FEF 000C                lea.l      A7, [A7 + 0xC]
  710. label0000071A:
  711. 0000071A  2F13                     move.l     -[A7], [A3]
  712. 0000071C  4EBA 5466                jsr        [PC + 0x5466 /* 00005B84 */]
  713. 00000720  4A45                     tst.w      D5
  714. 00000722  584F                     addq.w     A7, 4
  715. 00000724  660A                     bne        +0xC /* 00000730 */
  716. 00000726  4267                     clr.w      -[A7]
  717. 00000728  2F0A                     move.l     -[A7], A2
  718. 0000072A  4EBA 2856                jsr        [PC + 0x2856 /* 00002F82 */]
  719. 0000072E  5C4F                     addq.w     A7, 6
  720. label00000730:
  721. 00000730  3003                     move.w     D0, D3
  722. 00000732  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  723. 00000736  4E75                     rts
  724. fn00000738:
  725. 00000738  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  726. 0000073C  594F                     subq.w     A7, 4
  727. 0000073E  246F 0018                movea.l    A2, [A7 + 0x18]
  728. 00000742  264A                     movea.l    A3, A2
  729. 00000744  47EB 002C                lea.l      A3, [A3 + 0x2C]
  730. 00000748  7870                     moveq.l    D4, 0x70
  731. 0000074A  7600                     moveq.l    D3, 0x00
  732. 0000074C  4267                     clr.w      -[A7]
  733. 0000074E  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  734. 00000752  3F12                     move.w     -[A7], [A2]
  735. 00000754  4EAD ECF0                jsr        [A5 - 0x1310]
  736. 00000758  5280                     addq.l     D0, 1
  737. 0000075A  504F                     addq.w     A7, 8
  738. 0000075C  6604                     bne        +0x6 /* 00000762 */
  739. 0000075E  7603                     moveq.l    D3, 0x03
  740. 00000760  6014                     bra        +0x16 /* 00000776 */
  741. label00000762:
  742. 00000762  2F04                     move.l     -[A7], D4
  743. 00000764  2F0B                     move.l     -[A7], A3
  744. 00000766  3F12                     move.w     -[A7], [A2]
  745. 00000768  4EAD ECE8                jsr        [A5 - 0x1318]
  746. 0000076C  B084                     cmp.l      D0, D4
  747. 0000076E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  748. 00000772  6C02                     bge        +0x4 /* 00000776 */
  749. 00000774  7604                     moveq.l    D3, 0x04
  750. label00000776:
  751. 00000776  257C 0000 1000 05C6      move.l     [A2 + 0x5C6], 0x1000
  752. 0000077E  3013                     move.w     D0, [A3]
  753. 00000780  48C0                     ext.l      D0
  754. 00000782  7203                     moveq.l    D1, 0x03
  755. 00000784  B081                     cmp.l      D0, D1
  756. 00000786  6F24                     ble        +0x26 /* 000007AC */
  757. 00000788  2EAD A43C                move.l     [A7], [A5 - 0x5BC4]
  758. 0000078C  4878 0004                push.l     0x4
  759. 00000790  486F 0004                pea.l      [A7 + 0x4]
  760. 00000794  3F12                     move.w     -[A7], [A2]
  761. 00000796  4EAD ECE8                jsr        [A5 - 0x1318]
  762. 0000079A  7204                     moveq.l    D1, 0x04
  763. 0000079C  B081                     cmp.l      D0, D1
  764. 0000079E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  765. 000007A2  6404                     bcc        +0x6 /* 000007A8 */
  766. 000007A4  7604                     moveq.l    D3, 0x04
  767. 000007A6  6004                     bra        +0x6 /* 000007AC */
  768. label000007A8:
  769. 000007A8  2557 05C6                move.l     [A2 + 0x5C6], [A7]
  770. label000007AC:
  771. 000007AC  3003                     move.w     D0, D3
  772. 000007AE  584F                     addq.w     A7, 4
  773. 000007B0  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  774. 000007B4  4E75                     rts
  775. fn000007B6:
  776. 000007B6  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  777. 000007BA  246F 0014                movea.l    A2, [A7 + 0x14]
  778. 000007BE  7600                     moveq.l    D3, 0x00
  779. 000007C0  4A6F 0018                tst.w      [A7 + 0x18]
  780. 000007C4  6700 00C4                beq        +0xC6 /* 0000088A */
  781. 000007C8  264A                     movea.l    A3, A2
  782. 000007CA  47EB 002C                lea.l      A3, [A3 + 0x2C]
  783. 000007CE  202B 0010                move.l     D0, [A3 + 0x10]
  784. 000007D2  7214                     moveq.l    D1, 0x14
  785. 000007D4  4EAD D8F8                jsr        [A5 - 0x2708]
  786. 000007D8  2800                     move.l     D4, D0
  787. 000007DA  2F04                     move.l     -[A7], D4
  788. 000007DC  4EBA 532C                jsr        [PC + 0x532C /* 00005B0A */]
  789. 000007E0  2548 0014                move.l     [A2 + 0x14], A0
  790. 000007E4  4AAA 0014                tst.l      [A2 + 0x14]
  791. 000007E8  584F                     addq.w     A7, 4
  792. 000007EA  6606                     bne        +0x8 /* 000007F2 */
  793. 000007EC  7601                     moveq.l    D3, 0x01
  794. 000007EE  6000 013A                bra        +0x13C /* 0000092A */
  795. label000007F2:
  796. 000007F2  2F2B 002C                move.l     -[A7], [A3 + 0x2C]
  797. 000007F6  4EBA 5312                jsr        [PC + 0x5312 /* 00005B0A */]
  798. 000007FA  2548 001C                move.l     [A2 + 0x1C], A0
  799. 000007FE  4AAA 001C                tst.l      [A2 + 0x1C]
  800. 00000802  584F                     addq.w     A7, 4
  801. 00000804  6606                     bne        +0x8 /* 0000080C */
  802. 00000806  7601                     moveq.l    D3, 0x01
  803. 00000808  6000 0120                bra        +0x122 /* 0000092A */
  804. label0000080C:
  805. 0000080C  202B 0014                move.l     D0, [A3 + 0x14]
  806. 00000810  720C                     moveq.l    D1, 0x0C
  807. 00000812  4EAD D8F8                jsr        [A5 - 0x2708]
  808. 00000816  2800                     move.l     D4, D0
  809. 00000818  2F04                     move.l     -[A7], D4
  810. 0000081A  4EBA 52EE                jsr        [PC + 0x52EE /* 00005B0A */]
  811. 0000081E  2548 0024                move.l     [A2 + 0x24], A0
  812. 00000822  4AAA 0024                tst.l      [A2 + 0x24]
  813. 00000826  584F                     addq.w     A7, 4
  814. 00000828  6606                     bne        +0x8 /* 00000830 */
  815. 0000082A  7601                     moveq.l    D3, 0x01
  816. 0000082C  6000 00FC                bra        +0xFE /* 0000092A */
  817. label00000830:
  818. 00000830  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  819. 00000834  4EBA 52B0                jsr        [PC + 0x52B0 /* 00005AE6 */]
  820. 00000838  2548 00A0                move.l     [A2 + 0xA0], A0
  821. 0000083C  4AAA 00A0                tst.l      [A2 + 0xA0]
  822. 00000840  584F                     addq.w     A7, 4
  823. 00000842  6606                     bne        +0x8 /* 0000084A */
  824. 00000844  7601                     moveq.l    D3, 0x01
  825. 00000846  6000 00E2                bra        +0xE4 /* 0000092A */
  826. label0000084A:
  827. 0000084A  202B 001C                move.l     D0, [A3 + 0x1C]
  828. 0000084E  7262                     moveq.l    D1, 0x62
  829. 00000850  4EAD D8F8                jsr        [A5 - 0x2708]
  830. 00000854  2800                     move.l     D4, D0
  831. 00000856  2F04                     move.l     -[A7], D4
  832. 00000858  4EBA 52B0                jsr        [PC + 0x52B0 /* 00005B0A */]
  833. 0000085C  2548 0340                move.l     [A2 + 0x340], A0
  834. 00000860  4AAA 0340                tst.l      [A2 + 0x340]
  835. 00000864  584F                     addq.w     A7, 4
  836. 00000866  6606                     bne        +0x8 /* 0000086E */
  837. 00000868  7601                     moveq.l    D3, 0x01
  838. 0000086A  6000 00BE                bra        +0xC0 /* 0000092A */
  839. label0000086E:
  840. 0000086E  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  841. 00000872  4EBA 5296                jsr        [PC + 0x5296 /* 00005B0A */]
  842. 00000876  2548 0028                move.l     [A2 + 0x28], A0
  843. 0000087A  4AAA 0028                tst.l      [A2 + 0x28]
  844. 0000087E  584F                     addq.w     A7, 4
  845. 00000880  6600 00A8                bne        +0xAA /* 0000092A */
  846. 00000884  7601                     moveq.l    D3, 0x01
  847. 00000886  6000 00A2                bra        +0xA4 /* 0000092A */
  848. label0000088A:
  849. 0000088A  4AAA 0018                tst.l      [A2 + 0x18]
  850. 0000088E  670E                     beq        +0x10 /* 0000089E */
  851. 00000890  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  852. 00000894  4EBA 52EE                jsr        [PC + 0x52EE /* 00005B84 */]
  853. 00000898  42AA 0018                clr.l      [A2 + 0x18]
  854. 0000089C  584F                     addq.w     A7, 4
  855. label0000089E:
  856. 0000089E  4AAA 0014                tst.l      [A2 + 0x14]
  857. 000008A2  670E                     beq        +0x10 /* 000008B2 */
  858. 000008A4  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  859. 000008A8  4EBA 5298                jsr        [PC + 0x5298 /* 00005B42 */]
  860. 000008AC  42AA 0014                clr.l      [A2 + 0x14]
  861. 000008B0  584F                     addq.w     A7, 4
  862. label000008B2:
  863. 000008B2  4AAA 0020                tst.l      [A2 + 0x20]
  864. 000008B6  670E                     beq        +0x10 /* 000008C6 */
  865. 000008B8  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  866. 000008BC  4EBA 52C6                jsr        [PC + 0x52C6 /* 00005B84 */]
  867. 000008C0  42AA 0020                clr.l      [A2 + 0x20]
  868. 000008C4  584F                     addq.w     A7, 4
  869. label000008C6:
  870. 000008C6  4AAA 001C                tst.l      [A2 + 0x1C]
  871. 000008CA  670E                     beq        +0x10 /* 000008DA */
  872. 000008CC  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  873. 000008D0  4EBA 5270                jsr        [PC + 0x5270 /* 00005B42 */]
  874. 000008D4  42AA 001C                clr.l      [A2 + 0x1C]
  875. 000008D8  584F                     addq.w     A7, 4
  876. label000008DA:
  877. 000008DA  4AAA 0024                tst.l      [A2 + 0x24]
  878. 000008DE  670E                     beq        +0x10 /* 000008EE */
  879. 000008E0  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  880. 000008E4  4EBA 525C                jsr        [PC + 0x525C /* 00005B42 */]
  881. 000008E8  42AA 0024                clr.l      [A2 + 0x24]
  882. 000008EC  584F                     addq.w     A7, 4
  883. label000008EE:
  884. 000008EE  4AAA 00A0                tst.l      [A2 + 0xA0]
  885. 000008F2  670E                     beq        +0x10 /* 00000902 */
  886. 000008F4  2F2A 00A0                move.l     -[A7], [A2 + 0xA0]
  887. 000008F8  4EBA 5248                jsr        [PC + 0x5248 /* 00005B42 */]
  888. 000008FC  42AA 00A0                clr.l      [A2 + 0xA0]
  889. 00000900  584F                     addq.w     A7, 4
  890. label00000902:
  891. 00000902  4AAA 0340                tst.l      [A2 + 0x340]
  892. 00000906  670E                     beq        +0x10 /* 00000916 */
  893. 00000908  2F2A 0340                move.l     -[A7], [A2 + 0x340]
  894. 0000090C  4EBA 5234                jsr        [PC + 0x5234 /* 00005B42 */]
  895. 00000910  42AA 0340                clr.l      [A2 + 0x340]
  896. 00000914  584F                     addq.w     A7, 4
  897. label00000916:
  898. 00000916  4AAA 0028                tst.l      [A2 + 0x28]
  899. 0000091A  670E                     beq        +0x10 /* 0000092A */
  900. 0000091C  2F2A 0028                move.l     -[A7], [A2 + 0x28]
  901. 00000920  4EBA 5220                jsr        [PC + 0x5220 /* 00005B42 */]
  902. 00000924  42AA 0028                clr.l      [A2 + 0x28]
  903. 00000928  584F                     addq.w     A7, 4
  904. label0000092A:
  905. 0000092A  3003                     move.w     D0, D3
  906. 0000092C  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  907. 00000930  4E75                     rts
  908. fn00000932:
  909. 00000932  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  910. 00000936  246F 0018                movea.l    A2, [A7 + 0x18]
  911. 0000093A  7800                     moveq.l    D4, 0x00
  912. 0000093C  97CB                     sub.l      A3, A3
  913. 0000093E  284A                     movea.l    A4, A2
  914. 00000940  49EC 002C                lea.l      A4, [A4 + 0x2C]
  915. 00000944  4267                     clr.w      -[A7]
  916. 00000946  202A 0006                move.l     D0, [A2 + 0x6]
  917. 0000094A  D0AC 0020                add.l      D0, [A4 + 0x20]
  918. 0000094E  2F00                     move.l     -[A7], D0
  919. 00000950  3F12                     move.w     -[A7], [A2]
  920. 00000952  4EAD ECF0                jsr        [A5 - 0x1310]
  921. 00000956  5280                     addq.l     D0, 1
  922. 00000958  504F                     addq.w     A7, 8
  923. 0000095A  6604                     bne        +0x6 /* 00000960 */
  924. 0000095C  7803                     moveq.l    D4, 0x03
  925. 0000095E  6022                     bra        +0x24 /* 00000982 */
  926. label00000960:
  927. 00000960  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  928. 00000964  4EBA 51F8                jsr        [PC + 0x51F8 /* 00005B5E */]
  929. 00000968  2648                     movea.l    A3, A0
  930. 0000096A  262C 0024                move.l     D3, [A4 + 0x24]
  931. 0000096E  2F03                     move.l     -[A7], D3
  932. 00000970  2F0B                     move.l     -[A7], A3
  933. 00000972  3F12                     move.w     -[A7], [A2]
  934. 00000974  4EAD ECE8                jsr        [A5 - 0x1318]
  935. 00000978  B083                     cmp.l      D0, D3
  936. 0000097A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  937. 0000097E  6C02                     bge        +0x4 /* 00000982 */
  938. 00000980  7804                     moveq.l    D4, 0x04
  939. label00000982:
  940. 00000982  200B                     move.l     D0, A3
  941. 00000984  670A                     beq        +0xC /* 00000990 */
  942. 00000986  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  943. 0000098A  4EBA 51F8                jsr        [PC + 0x51F8 /* 00005B84 */]
  944. 0000098E  584F                     addq.w     A7, 4
  945. label00000990:
  946. 00000990  3004                     move.w     D0, D4
  947. 00000992  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  948. 00000996  4E75                     rts
  949. fn00000998:
  950. 00000998  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  951. 0000099C  246F 0018                movea.l    A2, [A7 + 0x18]
  952. 000009A0  97CB                     sub.l      A3, A3
  953. 000009A2  7600                     moveq.l    D3, 0x00
  954. 000009A4  284A                     movea.l    A4, A2
  955. 000009A6  49EC 002C                lea.l      A4, [A4 + 0x2C]
  956. 000009AA  282C 002C                move.l     D4, [A4 + 0x2C]
  957. 000009AE  4267                     clr.w      -[A7]
  958. 000009B0  202A 0006                move.l     D0, [A2 + 0x6]
  959. 000009B4  D0AC 0028                add.l      D0, [A4 + 0x28]
  960. 000009B8  2F00                     move.l     -[A7], D0
  961. 000009BA  3F12                     move.w     -[A7], [A2]
  962. 000009BC  4EAD ECF0                jsr        [A5 - 0x1310]
  963. 000009C0  5280                     addq.l     D0, 1
  964. 000009C2  504F                     addq.w     A7, 8
  965. 000009C4  6604                     bne        +0x6 /* 000009CA */
  966. 000009C6  7603                     moveq.l    D3, 0x03
  967. 000009C8  601E                     bra        +0x20 /* 000009E8 */
  968. label000009CA:
  969. 000009CA  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  970. 000009CE  4EBA 518E                jsr        [PC + 0x518E /* 00005B5E */]
  971. 000009D2  2648                     movea.l    A3, A0
  972. 000009D4  2F04                     move.l     -[A7], D4
  973. 000009D6  2F0B                     move.l     -[A7], A3
  974. 000009D8  3F12                     move.w     -[A7], [A2]
  975. 000009DA  4EAD ECE8                jsr        [A5 - 0x1318]
  976. 000009DE  B084                     cmp.l      D0, D4
  977. 000009E0  4FEF 000E                lea.l      A7, [A7 + 0xE]
  978. 000009E4  6C02                     bge        +0x4 /* 000009E8 */
  979. 000009E6  7604                     moveq.l    D3, 0x04
  980. label000009E8:
  981. 000009E8  200B                     move.l     D0, A3
  982. 000009EA  670A                     beq        +0xC /* 000009F6 */
  983. 000009EC  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  984. 000009F0  4EBA 5192                jsr        [PC + 0x5192 /* 00005B84 */]
  985. 000009F4  584F                     addq.w     A7, 4
  986. label000009F6:
  987. 000009F6  3003                     move.w     D0, D3
  988. 000009F8  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  989. 000009FC  4E75                     rts
  990. fn000009FE:
  991. 000009FE  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  992. 00000A02  246F 0018                movea.l    A2, [A7 + 0x18]
  993. 00000A06  7600                     moveq.l    D3, 0x00
  994. 00000A08  97CB                     sub.l      A3, A3
  995. 00000A0A  284A                     movea.l    A4, A2
  996. 00000A0C  49EC 002C                lea.l      A4, [A4 + 0x2C]
  997. 00000A10  282C 0034                move.l     D4, [A4 + 0x34]
  998. 00000A14  4267                     clr.w      -[A7]
  999. 00000A16  202A 0006                move.l     D0, [A2 + 0x6]
  1000. 00000A1A  D0AC 0030                add.l      D0, [A4 + 0x30]
  1001. 00000A1E  2F00                     move.l     -[A7], D0
  1002. 00000A20  3F12                     move.w     -[A7], [A2]
  1003. 00000A22  4EAD ECF0                jsr        [A5 - 0x1310]
  1004. 00000A26  5280                     addq.l     D0, 1
  1005. 00000A28  504F                     addq.w     A7, 8
  1006. 00000A2A  6604                     bne        +0x6 /* 00000A30 */
  1007. 00000A2C  7603                     moveq.l    D3, 0x03
  1008. 00000A2E  6028                     bra        +0x2A /* 00000A58 */
  1009. label00000A30:
  1010. 00000A30  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1011. 00000A34  4EBA 5128                jsr        [PC + 0x5128 /* 00005B5E */]
  1012. 00000A38  2648                     movea.l    A3, A0
  1013. 00000A3A  2F04                     move.l     -[A7], D4
  1014. 00000A3C  2F0B                     move.l     -[A7], A3
  1015. 00000A3E  3F12                     move.w     -[A7], [A2]
  1016. 00000A40  4EAD ECE8                jsr        [A5 - 0x1318]
  1017. 00000A44  B084                     cmp.l      D0, D4
  1018. 00000A46  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1019. 00000A4A  6C0C                     bge        +0xE /* 00000A58 */
  1020. 00000A4C  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1021. 00000A50  4EBA 5132                jsr        [PC + 0x5132 /* 00005B84 */]
  1022. 00000A54  7604                     moveq.l    D3, 0x04
  1023. 00000A56  584F                     addq.w     A7, 4
  1024. label00000A58:
  1025. 00000A58  200B                     move.l     D0, A3
  1026. 00000A5A  670A                     beq        +0xC /* 00000A66 */
  1027. 00000A5C  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1028. 00000A60  4EBA 5122                jsr        [PC + 0x5122 /* 00005B84 */]
  1029. 00000A64  584F                     addq.w     A7, 4
  1030. label00000A66:
  1031. 00000A66  3003                     move.w     D0, D3
  1032. 00000A68  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1033. 00000A6C  4E75                     rts
  1034. fn00000A6E:
  1035. 00000A6E  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  1036. 00000A72  246F 0014                movea.l    A2, [A7 + 0x14]
  1037. 00000A76  7600                     moveq.l    D3, 0x00
  1038. 00000A78  284A                     movea.l    A4, A2
  1039. 00000A7A  49EC 002C                lea.l      A4, [A4 + 0x2C]
  1040. 00000A7E  97CB                     sub.l      A3, A3
  1041. 00000A80  4267                     clr.w      -[A7]
  1042. 00000A82  202A 0006                move.l     D0, [A2 + 0x6]
  1043. 00000A86  D0AC 0038                add.l      D0, [A4 + 0x38]
  1044. 00000A8A  2F00                     move.l     -[A7], D0
  1045. 00000A8C  3F12                     move.w     -[A7], [A2]
  1046. 00000A8E  4EAD ECF0                jsr        [A5 - 0x1310]
  1047. 00000A92  5280                     addq.l     D0, 1
  1048. 00000A94  504F                     addq.w     A7, 8
  1049. 00000A96  6604                     bne        +0x6 /* 00000A9C */
  1050. 00000A98  7603                     moveq.l    D3, 0x03
  1051. 00000A9A  6022                     bra        +0x24 /* 00000ABE */
  1052. label00000A9C:
  1053. 00000A9C  2F2A 00A0                move.l     -[A7], [A2 + 0xA0]
  1054. 00000AA0  4EBA 50BC                jsr        [PC + 0x50BC /* 00005B5E */]
  1055. 00000AA4  2648                     movea.l    A3, A0
  1056. 00000AA6  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  1057. 00000AAA  2F0B                     move.l     -[A7], A3
  1058. 00000AAC  3F12                     move.w     -[A7], [A2]
  1059. 00000AAE  4EAD ECE8                jsr        [A5 - 0x1318]
  1060. 00000AB2  B0AA 000C                cmp.l      D0, [A2 + 0xC]
  1061. 00000AB6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1062. 00000ABA  6C02                     bge        +0x4 /* 00000ABE */
  1063. 00000ABC  7604                     moveq.l    D3, 0x04
  1064. label00000ABE:
  1065. 00000ABE  200B                     move.l     D0, A3
  1066. 00000AC0  670A                     beq        +0xC /* 00000ACC */
  1067. 00000AC2  2F2A 00A0                move.l     -[A7], [A2 + 0xA0]
  1068. 00000AC6  4EBA 50BC                jsr        [PC + 0x50BC /* 00005B84 */]
  1069. 00000ACA  584F                     addq.w     A7, 4
  1070. label00000ACC:
  1071. 00000ACC  3003                     move.w     D0, D3
  1072. 00000ACE  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  1073. 00000AD2  4E75                     rts
  1074. fn00000AD4:
  1075. 00000AD4  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  1076. 00000AD8  266F 001C                movea.l    A3, [A7 + 0x1C]
  1077. 00000ADC  244B                     movea.l    A2, A3
  1078. 00000ADE  45EA 002C                lea.l      A2, [A2 + 0x2C]
  1079. 00000AE2  99CC                     sub.l      A4, A4
  1080. 00000AE4  7600                     moveq.l    D3, 0x00
  1081. 00000AE6  9DCE                     sub.l      A6, A6
  1082. 00000AE8  202A 001C                move.l     D0, [A2 + 0x1C]
  1083. 00000AEC  720C                     moveq.l    D1, 0x0C
  1084. 00000AEE  4EAD D8F8                jsr        [A5 - 0x2708]
  1085. 00000AF2  2800                     move.l     D4, D0
  1086. 00000AF4  2F04                     move.l     -[A7], D4
  1087. 00000AF6  4EBA 5012                jsr        [PC + 0x5012 /* 00005B0A */]
  1088. 00000AFA  2C48                     movea.l    A6, A0
  1089. 00000AFC  200E                     move.l     D0, A6
  1090. 00000AFE  584F                     addq.w     A7, 4
  1091. 00000B00  6608                     bne        +0xA /* 00000B0A */
  1092. 00000B02  7001                     moveq.l    D0, 0x01
  1093. 00000B04  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1094. 00000B08  4E75                     rts
  1095. label00000B0A:
  1096. 00000B0A  2F0E                     move.l     -[A7], A6
  1097. 00000B0C  4EBA 5050                jsr        [PC + 0x5050 /* 00005B5E */]
  1098. 00000B10  2848                     movea.l    A4, A0
  1099. 00000B12  4267                     clr.w      -[A7]
  1100. 00000B14  202B 0006                move.l     D0, [A3 + 0x6]
  1101. 00000B18  D0AA 0040                add.l      D0, [A2 + 0x40]
  1102. 00000B1C  2F00                     move.l     -[A7], D0
  1103. 00000B1E  3F13                     move.w     -[A7], [A3]
  1104. 00000B20  4EAD ECF0                jsr        [A5 - 0x1310]
  1105. 00000B24  5280                     addq.l     D0, 1
  1106. 00000B26  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1107. 00000B2A  6604                     bne        +0x6 /* 00000B30 */
  1108. 00000B2C  7603                     moveq.l    D3, 0x03
  1109. 00000B2E  6018                     bra        +0x1A /* 00000B48 */
  1110. label00000B30:
  1111. 00000B30  2F2A 0044                move.l     -[A7], [A2 + 0x44]
  1112. 00000B34  2F0C                     move.l     -[A7], A4
  1113. 00000B36  3F13                     move.w     -[A7], [A3]
  1114. 00000B38  4EAD ECE8                jsr        [A5 - 0x1318]
  1115. 00000B3C  B0AA 0044                cmp.l      D0, [A2 + 0x44]
  1116. 00000B40  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1117. 00000B44  6C02                     bge        +0x4 /* 00000B48 */
  1118. 00000B46  7604                     moveq.l    D3, 0x04
  1119. label00000B48:
  1120. 00000B48  4A43                     tst.w      D3
  1121. 00000B4A  6710                     beq        +0x12 /* 00000B5C */
  1122. 00000B4C  2F0E                     move.l     -[A7], A6
  1123. 00000B4E  4EBA 5034                jsr        [PC + 0x5034 /* 00005B84 */]
  1124. 00000B52  3003                     move.w     D0, D3
  1125. 00000B54  584F                     addq.w     A7, 4
  1126. 00000B56  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1127. 00000B5A  4E75                     rts
  1128. label00000B5C:
  1129. 00000B5C  2F0C                     move.l     -[A7], A4
  1130. 00000B5E  2F0B                     move.l     -[A7], A3
  1131. 00000B60  4EBA 2090                jsr        [PC + 0x2090 /* 00002BF2 */]
  1132. 00000B64  3600                     move.w     D3, D0
  1133. 00000B66  2F0E                     move.l     -[A7], A6
  1134. 00000B68  4EBA 501A                jsr        [PC + 0x501A /* 00005B84 */]
  1135. 00000B6C  2F0E                     move.l     -[A7], A6
  1136. 00000B6E  4EBA 4FD2                jsr        [PC + 0x4FD2 /* 00005B42 */]
  1137. 00000B72  3003                     move.w     D0, D3
  1138. 00000B74  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1139. 00000B78  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1140. 00000B7C  4E75                     rts
  1141. fn00000B7E:
  1142. 00000B7E  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  1143. 00000B82  2C6F 0024                movea.l    A6, [A7 + 0x24]
  1144. 00000B86  284E                     movea.l    A4, A6
  1145. 00000B88  49EC 002C                lea.l      A4, [A4 + 0x2C]
  1146. 00000B8C  7800                     moveq.l    D4, 0x00
  1147. 00000B8E  97CB                     sub.l      A3, A3
  1148. 00000B90  95CA                     sub.l      A2, A2
  1149. 00000B92  2F2C 006C                move.l     -[A7], [A4 + 0x6C]
  1150. 00000B96  4EBA 4F4E                jsr        [PC + 0x4F4E /* 00005AE6 */]
  1151. 00000B9A  2C08                     move.l     D6, A0
  1152. 00000B9C  4A86                     tst.l      D6
  1153. 00000B9E  584F                     addq.w     A7, 4
  1154. 00000BA0  6608                     bne        +0xA /* 00000BAA */
  1155. 00000BA2  7001                     moveq.l    D0, 0x01
  1156. 00000BA4  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  1157. 00000BA8  4E75                     rts
  1158. label00000BAA:
  1159. 00000BAA  2F06                     move.l     -[A7], D6
  1160. 00000BAC  4EBA 4FB0                jsr        [PC + 0x4FB0 /* 00005B5E */]
  1161. 00000BB0  2648                     movea.l    A3, A0
  1162. 00000BB2  4267                     clr.w      -[A7]
  1163. 00000BB4  202E 0006                move.l     D0, [A6 + 0x6]
  1164. 00000BB8  D0AC 0068                add.l      D0, [A4 + 0x68]
  1165. 00000BBC  2F00                     move.l     -[A7], D0
  1166. 00000BBE  3F16                     move.w     -[A7], [A6]
  1167. 00000BC0  4EAD ECF0                jsr        [A5 - 0x1310]
  1168. 00000BC4  5280                     addq.l     D0, 1
  1169. 00000BC6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1170. 00000BCA  6604                     bne        +0x6 /* 00000BD0 */
  1171. 00000BCC  7803                     moveq.l    D4, 0x03
  1172. 00000BCE  6018                     bra        +0x1A /* 00000BE8 */
  1173. label00000BD0:
  1174. 00000BD0  2F2C 006C                move.l     -[A7], [A4 + 0x6C]
  1175. 00000BD4  2F0B                     move.l     -[A7], A3
  1176. 00000BD6  3F16                     move.w     -[A7], [A6]
  1177. 00000BD8  4EAD ECE8                jsr        [A5 - 0x1318]
  1178. 00000BDC  B0AC 006C                cmp.l      D0, [A4 + 0x6C]
  1179. 00000BE0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1180. 00000BE4  6C02                     bge        +0x4 /* 00000BE8 */
  1181. 00000BE6  7804                     moveq.l    D4, 0x04
  1182. label00000BE8:
  1183. 00000BE8  4A44                     tst.w      D4
  1184. 00000BEA  666A                     bne        +0x6C /* 00000C56 */
  1185. 00000BEC  244E                     movea.l    A2, A6
  1186. 00000BEE  45EA 054E                lea.l      A2, [A2 + 0x54E]
  1187. 00000BF2  7A00                     moveq.l    D5, 0x00
  1188. 00000BF4  605A                     bra        +0x5C /* 00000C50 */
  1189. label00000BF6:
  1190. 00000BF6  3053                     movea.w    A0, [A3]
  1191. 00000BF8  2608                     move.l     D3, A0
  1192. 00000BFA  548B                     addq.l     A3, 2
  1193. 00000BFC  2003                     move.l     D0, D3
  1194. 00000BFE  5280                     addq.l     D0, 1
  1195. 00000C00  2540 0008                move.l     [A2 + 0x8], D0
  1196. 00000C04  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  1197. 00000C08  4EBA 4EDC                jsr        [PC + 0x4EDC /* 00005AE6 */]
  1198. 00000C0C  2488                     move.l     [A2], A0
  1199. 00000C0E  4A92                     tst.l      [A2]
  1200. 00000C10  584F                     addq.w     A7, 4
  1201. 00000C12  6742                     beq        +0x44 /* 00000C56 */
  1202. 00000C14  2F12                     move.l     -[A7], [A2]
  1203. 00000C16  4EBA 4F46                jsr        [PC + 0x4F46 /* 00005B5E */]
  1204. 00000C1A  2548 0004                move.l     [A2 + 0x4], A0
  1205. 00000C1E  206A 0004                movea.l    A0, [A2 + 0x4]
  1206. 00000C22  224B                     movea.l    A1, A3
  1207. 00000C24  222A 0008                move.l     D1, [A2 + 0x8]
  1208. 00000C28  2008                     move.l     D0, A0
  1209. 00000C2A  4A81                     tst.l      D1
  1210. 00000C2C  6706                     beq        +0x8 /* 00000C34 */
  1211. label00000C2E:
  1212. 00000C2E  10D9                     move.b     [A0]+, [A1]+
  1213. 00000C30  5381                     subq.l     D1, 1
  1214. 00000C32  66FA                     bne        -0x4 /* 00000C2E */
  1215. label00000C34:
  1216. 00000C34  206A 0004                movea.l    A0, [A2 + 0x4]
  1217. 00000C38  4230 3800                clr.b      [A0 + D3]
  1218. 00000C3C  2F12                     move.l     -[A7], [A2]
  1219. 00000C3E  4EBA 4F44                jsr        [PC + 0x4F44 /* 00005B84 */]
  1220. 00000C42  42AA 0004                clr.l      [A2 + 0x4]
  1221. 00000C46  D7C3                     add.l      A3, D3
  1222. 00000C48  5285                     addq.l     D5, 1
  1223. 00000C4A  7014                     moveq.l    D0, 0x14
  1224. 00000C4C  D5C0                     add.l      A2, D0
  1225. 00000C4E  504F                     addq.w     A7, 8
  1226. label00000C50:
  1227. 00000C50  7005                     moveq.l    D0, 0x05
  1228. 00000C52  BA80                     cmp.l      D5, D0
  1229. 00000C54  6DA0                     blt        -0x5E /* 00000BF6 */
  1230. label00000C56:
  1231. 00000C56  2F06                     move.l     -[A7], D6
  1232. 00000C58  4EBA 4F2A                jsr        [PC + 0x4F2A /* 00005B84 */]
  1233. 00000C5C  2F06                     move.l     -[A7], D6
  1234. 00000C5E  4EBA 4EE2                jsr        [PC + 0x4EE2 /* 00005B42 */]
  1235. 00000C62  3004                     move.w     D0, D4
  1236. 00000C64  504F                     addq.w     A7, 8
  1237. 00000C66  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  1238. 00000C6A  4E75                     rts
  1239. fn00000C6C:
  1240. 00000C6C  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1241. 00000C70  286F 0028                movea.l    A4, [A7 + 0x28]
  1242. 00000C74  204C                     movea.l    A0, A4
  1243. 00000C76  41E8 002C                lea.l      A0, [A0 + 0x2C]
  1244. 00000C7A  2A08                     move.l     D5, A0
  1245. 00000C7C  7600                     moveq.l    D3, 0x00
  1246. 00000C7E  7C00                     moveq.l    D6, 0x00
  1247. 00000C80  95CA                     sub.l      A2, A2
  1248. 00000C82  2C45                     movea.l    A6, D5
  1249. 00000C84  4DEE 0058                lea.l      A6, [A6 + 0x58]
  1250. 00000C88  97CB                     sub.l      A3, A3
  1251. 00000C8A  7800                     moveq.l    D4, 0x00
  1252. 00000C8C  2045                     movea.l    A0, D5
  1253. 00000C8E  3E28 001E                move.w     D7, [A0 + 0x1E]
  1254. 00000C92  2C28 001C                move.l     D6, [A0 + 0x1C]
  1255. 00000C96  E78E                     lsl        D6, 3
  1256. 00000C98  2F2E 0004                move.l     -[A7], [A6 + 0x4]
  1257. 00000C9C  4EBA 4E6C                jsr        [PC + 0x4E6C /* 00005B0A */]
  1258. 00000CA0  2C08                     move.l     D6, A0
  1259. 00000CA2  2008                     move.l     D0, A0
  1260. 00000CA4  584F                     addq.w     A7, 4
  1261. 00000CA6  6608                     bne        +0xA /* 00000CB0 */
  1262. 00000CA8  7001                     moveq.l    D0, 0x01
  1263. 00000CAA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1264. 00000CAE  4E75                     rts
  1265. label00000CB0:
  1266. 00000CB0  2F06                     move.l     -[A7], D6
  1267. 00000CB2  4EBA 4EAA                jsr        [PC + 0x4EAA /* 00005B5E */]
  1268. 00000CB6  2448                     movea.l    A2, A0
  1269. 00000CB8  4267                     clr.w      -[A7]
  1270. 00000CBA  202C 0006                move.l     D0, [A4 + 0x6]
  1271. 00000CBE  D096                     add.l      D0, [A6]
  1272. 00000CC0  2F00                     move.l     -[A7], D0
  1273. 00000CC2  3F14                     move.w     -[A7], [A4]
  1274. 00000CC4  4EAD ECF0                jsr        [A5 - 0x1310]
  1275. 00000CC8  5280                     addq.l     D0, 1
  1276. 00000CCA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1277. 00000CCE  6604                     bne        +0x6 /* 00000CD4 */
  1278. 00000CD0  7603                     moveq.l    D3, 0x03
  1279. 00000CD2  6018                     bra        +0x1A /* 00000CEC */
  1280. label00000CD4:
  1281. 00000CD4  2F2E 0004                move.l     -[A7], [A6 + 0x4]
  1282. 00000CD8  2F0A                     move.l     -[A7], A2
  1283. 00000CDA  3F14                     move.w     -[A7], [A4]
  1284. 00000CDC  4EAD ECE8                jsr        [A5 - 0x1318]
  1285. 00000CE0  B0AE 0004                cmp.l      D0, [A6 + 0x4]
  1286. 00000CE4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1287. 00000CE8  6C02                     bge        +0x4 /* 00000CEC */
  1288. 00000CEA  7604                     moveq.l    D3, 0x04
  1289. label00000CEC:
  1290. 00000CEC  4A43                     tst.w      D3
  1291. 00000CEE  6710                     beq        +0x12 /* 00000D00 */
  1292. 00000CF0  2F06                     move.l     -[A7], D6
  1293. 00000CF2  4EBA 4E90                jsr        [PC + 0x4E90 /* 00005B84 */]
  1294. 00000CF6  3003                     move.w     D0, D3
  1295. 00000CF8  584F                     addq.w     A7, 4
  1296. 00000CFA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1297. 00000CFE  4E75                     rts
  1298. label00000D00:
  1299. 00000D00  3F3C 0001                move.w     -[A7], 0x1
  1300. 00000D04  2F0C                     move.l     -[A7], A4
  1301. 00000D06  4EBA 21FE                jsr        [PC + 0x21FE /* 00002F06 */]
  1302. 00000D0A  2648                     movea.l    A3, A0
  1303. 00000D0C  7A00                     moveq.l    D5, 0x00
  1304. 00000D0E  5C4F                     addq.w     A7, 6
  1305. 00000D10  607A                     bra        +0x7C /* 00000D8C */
  1306. label00000D12:
  1307. 00000D12  202A 0004                move.l     D0, [A2 + 0x4]
  1308. 00000D16  7206                     moveq.l    D1, 0x06
  1309. 00000D18  4EAD D8FE                jsr        [A5 - 0x2702]
  1310. 00000D1C  2740 005A                move.l     [A3 + 0x5A], D0
  1311. 00000D20  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  1312. 00000D24  4EBA 4DE4                jsr        [PC + 0x4DE4 /* 00005B0A */]
  1313. 00000D28  2748 0052                move.l     [A3 + 0x52], A0
  1314. 00000D2C  4AAB 0052                tst.l      [A3 + 0x52]
  1315. 00000D30  584F                     addq.w     A7, 4
  1316. 00000D32  6604                     bne        +0x6 /* 00000D38 */
  1317. 00000D34  7601                     moveq.l    D3, 0x01
  1318. 00000D36  6058                     bra        +0x5A /* 00000D90 */
  1319. label00000D38:
  1320. 00000D38  2F2B 0052                move.l     -[A7], [A3 + 0x52]
  1321. 00000D3C  4EBA 4E20                jsr        [PC + 0x4E20 /* 00005B5E */]
  1322. 00000D40  2808                     move.l     D4, A0
  1323. 00000D42  4267                     clr.w      -[A7]
  1324. 00000D44  202C 0006                move.l     D0, [A4 + 0x6]
  1325. 00000D48  D092                     add.l      D0, [A2]
  1326. 00000D4A  2F00                     move.l     -[A7], D0
  1327. 00000D4C  3F14                     move.w     -[A7], [A4]
  1328. 00000D4E  4EAD ECF0                jsr        [A5 - 0x1310]
  1329. 00000D52  5280                     addq.l     D0, 1
  1330. 00000D54  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1331. 00000D58  6604                     bne        +0x6 /* 00000D5E */
  1332. 00000D5A  7603                     moveq.l    D3, 0x03
  1333. 00000D5C  6032                     bra        +0x34 /* 00000D90 */
  1334. label00000D5E:
  1335. 00000D5E  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  1336. 00000D62  2F04                     move.l     -[A7], D4
  1337. 00000D64  3F14                     move.w     -[A7], [A4]
  1338. 00000D66  4EAD ECE8                jsr        [A5 - 0x1318]
  1339. 00000D6A  B0AA 0004                cmp.l      D0, [A2 + 0x4]
  1340. 00000D6E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1341. 00000D72  6C04                     bge        +0x6 /* 00000D78 */
  1342. 00000D74  7604                     moveq.l    D3, 0x04
  1343. 00000D76  6018                     bra        +0x1A /* 00000D90 */
  1344. label00000D78:
  1345. 00000D78  2F2B 0052                move.l     -[A7], [A3 + 0x52]
  1346. 00000D7C  4EBA 4E06                jsr        [PC + 0x4E06 /* 00005B84 */]
  1347. 00000D80  7800                     moveq.l    D4, 0x00
  1348. 00000D82  5245                     addq.w     D5, 1
  1349. 00000D84  508A                     addq.l     A2, 8
  1350. 00000D86  7062                     moveq.l    D0, 0x62
  1351. 00000D88  D7C0                     add.l      A3, D0
  1352. 00000D8A  584F                     addq.w     A7, 4
  1353. label00000D8C:
  1354. 00000D8C  BA47                     cmp.w      D5, D7
  1355. 00000D8E  6D82                     blt        -0x7C /* 00000D12 */
  1356. label00000D90:
  1357. 00000D90  4A84                     tst.l      D4
  1358. 00000D92  670A                     beq        +0xC /* 00000D9E */
  1359. 00000D94  2F2B 0052                move.l     -[A7], [A3 + 0x52]
  1360. 00000D98  4EBA 4DEA                jsr        [PC + 0x4DEA /* 00005B84 */]
  1361. 00000D9C  584F                     addq.w     A7, 4
  1362. label00000D9E:
  1363. 00000D9E  4267                     clr.w      -[A7]
  1364. 00000DA0  2F0C                     move.l     -[A7], A4
  1365. 00000DA2  4EBA 2162                jsr        [PC + 0x2162 /* 00002F06 */]
  1366. 00000DA6  2F06                     move.l     -[A7], D6
  1367. 00000DA8  4EBA 4DDA                jsr        [PC + 0x4DDA /* 00005B84 */]
  1368. 00000DAC  2F06                     move.l     -[A7], D6
  1369. 00000DAE  4EBA 4D92                jsr        [PC + 0x4D92 /* 00005B42 */]
  1370. 00000DB2  3003                     move.w     D0, D3
  1371. 00000DB4  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1372. 00000DB8  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1373. 00000DBC  4E75                     rts
  1374. fn00000DBE:
  1375. 00000DBE  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  1376. 00000DC2  266F 0018                movea.l    A3, [A7 + 0x18]
  1377. 00000DC6  244B                     movea.l    A2, A3
  1378. 00000DC8  45EA 002C                lea.l      A2, [A2 + 0x2C]
  1379. 00000DCC  7600                     moveq.l    D3, 0x00
  1380. 00000DCE  244B                     movea.l    A2, A3
  1381. 00000DD0  45EA 008C                lea.l      A2, [A2 + 0x8C]
  1382. 00000DD4  99CC                     sub.l      A4, A4
  1383. 00000DD6  2C4B                     movea.l    A6, A3
  1384. 00000DD8  4DEE 05B2                lea.l      A6, [A6 + 0x5B2]
  1385. 00000DDC  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  1386. 00000DE0  4EBA 4D04                jsr        [PC + 0x4D04 /* 00005AE6 */]
  1387. 00000DE4  2C88                     move.l     [A6], A0
  1388. 00000DE6  4A96                     tst.l      [A6]
  1389. 00000DE8  584F                     addq.w     A7, 4
  1390. 00000DEA  6608                     bne        +0xA /* 00000DF4 */
  1391. 00000DEC  7001                     moveq.l    D0, 0x01
  1392. 00000DEE  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  1393. 00000DF2  4E75                     rts
  1394. label00000DF4:
  1395. 00000DF4  202A 0004                move.l     D0, [A2 + 0x4]
  1396. 00000DF8  7206                     moveq.l    D1, 0x06
  1397. 00000DFA  4EAD D8FE                jsr        [A5 - 0x2702]
  1398. 00000DFE  2D40 0008                move.l     [A6 + 0x8], D0
  1399. 00000E02  2F16                     move.l     -[A7], [A6]
  1400. 00000E04  4EBA 4D58                jsr        [PC + 0x4D58 /* 00005B5E */]
  1401. 00000E08  2848                     movea.l    A4, A0
  1402. 00000E0A  4267                     clr.w      -[A7]
  1403. 00000E0C  202B 0006                move.l     D0, [A3 + 0x6]
  1404. 00000E10  D092                     add.l      D0, [A2]
  1405. 00000E12  2F00                     move.l     -[A7], D0
  1406. 00000E14  3F13                     move.w     -[A7], [A3]
  1407. 00000E16  4EAD ECF0                jsr        [A5 - 0x1310]
  1408. 00000E1A  5280                     addq.l     D0, 1
  1409. 00000E1C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1410. 00000E20  6604                     bne        +0x6 /* 00000E26 */
  1411. 00000E22  7603                     moveq.l    D3, 0x03
  1412. 00000E24  6018                     bra        +0x1A /* 00000E3E */
  1413. label00000E26:
  1414. 00000E26  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  1415. 00000E2A  2F0C                     move.l     -[A7], A4
  1416. 00000E2C  3F13                     move.w     -[A7], [A3]
  1417. 00000E2E  4EAD ECE8                jsr        [A5 - 0x1318]
  1418. 00000E32  B0AA 0004                cmp.l      D0, [A2 + 0x4]
  1419. 00000E36  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1420. 00000E3A  6C02                     bge        +0x4 /* 00000E3E */
  1421. 00000E3C  7604                     moveq.l    D3, 0x04
  1422. label00000E3E:
  1423. 00000E3E  200C                     move.l     D0, A4
  1424. 00000E40  6708                     beq        +0xA /* 00000E4A */
  1425. 00000E42  2F16                     move.l     -[A7], [A6]
  1426. 00000E44  4EBA 4D3E                jsr        [PC + 0x4D3E /* 00005B84 */]
  1427. 00000E48  584F                     addq.w     A7, 4
  1428. label00000E4A:
  1429. 00000E4A  3003                     move.w     D0, D3
  1430. 00000E4C  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  1431. 00000E50  4E75                     rts
  1432. fn00000E52:
  1433. 00000E52  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  1434. 00000E56  266F 001C                movea.l    A3, [A7 + 0x1C]
  1435. 00000E5A  246F 0020                movea.l    A2, [A7 + 0x20]
  1436. 00000E5E  7A00                     moveq.l    D5, 0x00
  1437. 00000E60  7600                     moveq.l    D3, 0x00
  1438. 00000E62  700A                     moveq.l    D0, 0x0A
  1439. 00000E64  B0AB 033C                cmp.l      D0, [A3 + 0x33C]
  1440. 00000E68  6C10                     bge        +0x12 /* 00000E7A */
  1441. 00000E6A  2F3C 0003 2000           move.l     -[A7], 0x32000
  1442. 00000E70  3F3C 0001                move.w     -[A7], 0x1
  1443. 00000E74  4EAD ECE0                jsr        [A5 - 0x1320]
  1444. 00000E78  5C4F                     addq.w     A7, 6
  1445. label00000E7A:
  1446. 00000E7A  2F2B 0334                move.l     -[A7], [A3 + 0x334]
  1447. 00000E7E  4EBA 4CDE                jsr        [PC + 0x4CDE /* 00005B5E */]
  1448. 00000E82  2848                     movea.l    A4, A0
  1449. 00000E84  7800                     moveq.l    D4, 0x00
  1450. 00000E86  584F                     addq.w     A7, 4
  1451. 00000E88  602C                     bra        +0x2E /* 00000EB6 */
  1452. label00000E8A:
  1453. 00000E8A  2F0A                     move.l     -[A7], A2
  1454. 00000E8C  2F14                     move.l     -[A7], [A4]
  1455. 00000E8E  2F0B                     move.l     -[A7], A3
  1456. 00000E90  4EBA 006C                jsr        [PC + 0x6C /* 00000EFE */]
  1457. 00000E94  3600                     move.w     D3, D0
  1458. 00000E96  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1459. 00000E9A  6714                     beq        +0x16 /* 00000EB0 */
  1460. 00000E9C  0C43 0007                cmpi.w     D3, 0x7
  1461. 00000EA0  661A                     bne        +0x1C /* 00000EBC */
  1462. 00000EA2  4A6A 001A                tst.w      [A2 + 0x1A]
  1463. 00000EA6  660A                     bne        +0xC /* 00000EB2 */
  1464. 00000EA8  4A6A 0030                tst.w      [A2 + 0x30]
  1465. 00000EAC  670E                     beq        +0x10 /* 00000EBC */
  1466. 00000EAE  6002                     bra        +0x4 /* 00000EB2 */
  1467. label00000EB0:
  1468. 00000EB0  5285                     addq.l     D5, 1
  1469. label00000EB2:
  1470. 00000EB2  5284                     addq.l     D4, 1
  1471. 00000EB4  588C                     addq.l     A4, 4
  1472. label00000EB6:
  1473. 00000EB6  B8AB 033C                cmp.l      D4, [A3 + 0x33C]
  1474. 00000EBA  6DCE                     blt        -0x30 /* 00000E8A */
  1475. label00000EBC:
  1476. 00000EBC  2F2B 0334                move.l     -[A7], [A3 + 0x334]
  1477. 00000EC0  4EBA 4CC2                jsr        [PC + 0x4CC2 /* 00005B84 */]
  1478. 00000EC4  42A7                     clr.l      -[A7]
  1479. 00000EC6  4267                     clr.w      -[A7]
  1480. 00000EC8  4EAD ECE0                jsr        [A5 - 0x1320]
  1481. 00000ECC  0C43 0007                cmpi.w     D3, 0x7
  1482. 00000ED0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1483. 00000ED4  6612                     bne        +0x14 /* 00000EE8 */
  1484. 00000ED6  4A85                     tst.l      D5
  1485. 00000ED8  670E                     beq        +0x10 /* 00000EE8 */
  1486. 00000EDA  4A6A 001A                tst.w      [A2 + 0x1A]
  1487. 00000EDE  6606                     bne        +0x8 /* 00000EE6 */
  1488. 00000EE0  4A6A 0030                tst.w      [A2 + 0x30]
  1489. 00000EE4  6702                     beq        +0x4 /* 00000EE8 */
  1490. label00000EE6:
  1491. 00000EE6  7600                     moveq.l    D3, 0x00
  1492. label00000EE8:
  1493. 00000EE8  4A43                     tst.w      D3
  1494. 00000EEA  660A                     bne        +0xC /* 00000EF6 */
  1495. 00000EEC  2052                     movea.l    A0, [A2]
  1496. 00000EEE  4AA8 0018                tst.l      [A0 + 0x18]
  1497. 00000EF2  6602                     bne        +0x4 /* 00000EF6 */
  1498. 00000EF4  7606                     moveq.l    D3, 0x06
  1499. label00000EF6:
  1500. 00000EF6  3003                     move.w     D0, D3
  1501. 00000EF8  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  1502. 00000EFC  4E75                     rts
  1503. fn00000EFE:
  1504. 00000EFE  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1505. 00000F02  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  1506. 00000F06  286F 0040                movea.l    A4, [A7 + 0x40]
  1507. 00000F0A  2E2F 0044                move.l     D7, [A7 + 0x44]
  1508. 00000F0E  2C6F 0048                movea.l    A6, [A7 + 0x48]
  1509. 00000F12  42AF 0010                clr.l      [A7 + 0x10]
  1510. 00000F16  97CB                     sub.l      A3, A3
  1511. 00000F18  7A08                     moveq.l    D5, 0x08
  1512. 00000F1A  5887                     addq.l     D7, 4
  1513. 00000F1C  486F 0014                pea.l      [A7 + 0x14]
  1514. 00000F20  486F 0014                pea.l      [A7 + 0x14]
  1515. 00000F24  4878 0004                push.l     0x4
  1516. 00000F28  4878 0004                push.l     0x4
  1517. 00000F2C  2F07                     move.l     -[A7], D7
  1518. 00000F2E  2F0C                     move.l     -[A7], A4
  1519. 00000F30  4EBA 151A                jsr        [PC + 0x151A /* 0000244C */]
  1520. 00000F34  3800                     move.w     D4, D0
  1521. 00000F36  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1522. 00000F3A  670C                     beq        +0xE /* 00000F48 */
  1523. 00000F3C  3004                     move.w     D0, D4
  1524. 00000F3E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1525. 00000F42  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1526. 00000F46  4E75                     rts
  1527. label00000F48:
  1528. 00000F48  206F 0010                movea.l    A0, [A7 + 0x10]
  1529. 00000F4C  2F50 0004                move.l     [A7 + 0x4], [A0]
  1530. 00000F50  5887                     addq.l     D7, 4
  1531. 00000F52  3005                     move.w     D0, D5
  1532. 00000F54  48C0                     ext.l      D0
  1533. 00000F56  222F 0004                move.l     D1, [A7 + 0x4]
  1534. 00000F5A  4EAD D8F8                jsr        [A5 - 0x2708]
  1535. 00000F5E  D087                     add.l      D0, D7
  1536. 00000F60  2C00                     move.l     D6, D0
  1537. 00000F62  42AF 0014                clr.l      [A7 + 0x14]
  1538. 00000F66  7600                     moveq.l    D3, 0x00
  1539. 00000F68  6064                     bra        +0x66 /* 00000FCE */
  1540. label00000F6A:
  1541. 00000F6A  3005                     move.w     D0, D5
  1542. 00000F6C  48C0                     ext.l      D0
  1543. 00000F6E  B0AF 0014                cmp.l      D0, [A7 + 0x14]
  1544. 00000F72  6F3C                     ble        +0x3E /* 00000FB0 */
  1545. 00000F74  486F 0014                pea.l      [A7 + 0x14]
  1546. 00000F78  486F 0014                pea.l      [A7 + 0x14]
  1547. 00000F7C  3005                     move.w     D0, D5
  1548. 00000F7E  48C0                     ext.l      D0
  1549. 00000F80  222F 000C                move.l     D1, [A7 + 0xC]
  1550. 00000F84  9283                     sub.l      D1, D3
  1551. 00000F86  4EAD D8F8                jsr        [A5 - 0x2708]
  1552. 00000F8A  2F00                     move.l     -[A7], D0
  1553. 00000F8C  3045                     movea.w    A0, D5
  1554. 00000F8E  2F08                     move.l     -[A7], A0
  1555. 00000F90  2F07                     move.l     -[A7], D7
  1556. 00000F92  2F0C                     move.l     -[A7], A4
  1557. 00000F94  4EBA 14B6                jsr        [PC + 0x14B6 /* 0000244C */]
  1558. 00000F98  3800                     move.w     D4, D0
  1559. 00000F9A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1560. 00000F9E  670C                     beq        +0xE /* 00000FAC */
  1561. 00000FA0  3004                     move.w     D0, D4
  1562. 00000FA2  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1563. 00000FA6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1564. 00000FAA  4E75                     rts
  1565. label00000FAC:
  1566. 00000FAC  266F 0010                movea.l    A3, [A7 + 0x10]
  1567. label00000FB0:
  1568. 00000FB0  2013                     move.l     D0, [A3]
  1569. 00000FB2  B0AE 000A                cmp.l      D0, [A6 + 0xA]
  1570. 00000FB6  671C                     beq        +0x1E /* 00000FD4 */
  1571. 00000FB8  202B 0004                move.l     D0, [A3 + 0x4]
  1572. 00000FBC  E588                     lsl        D0, 2
  1573. 00000FBE  DC80                     add.l      D6, D0
  1574. 00000FC0  508B                     addq.l     A3, 8
  1575. 00000FC2  3045                     movea.w    A0, D5
  1576. 00000FC4  2008                     move.l     D0, A0
  1577. 00000FC6  91AF 0014                sub.l      [A7 + 0x14], D0
  1578. 00000FCA  DE88                     add.l      D7, A0
  1579. 00000FCC  5283                     addq.l     D3, 1
  1580. label00000FCE:
  1581. 00000FCE  B6AF 0004                cmp.l      D3, [A7 + 0x4]
  1582. 00000FD2  6D96                     blt        -0x68 /* 00000F6A */
  1583. label00000FD4:
  1584. 00000FD4  B6AF 0004                cmp.l      D3, [A7 + 0x4]
  1585. 00000FD8  660C                     bne        +0xE /* 00000FE6 */
  1586. 00000FDA  7007                     moveq.l    D0, 0x07
  1587. 00000FDC  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1588. 00000FE0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1589. 00000FE4  4E75                     rts
  1590. label00000FE6:
  1591. 00000FE6  2F53 0008                move.l     [A7 + 0x8], [A3]
  1592. 00000FEA  2F6B 0004 000C           move.l     [A7 + 0xC], [A3 + 0x4]
  1593. 00000FF0  2056                     movea.l    A0, [A6]
  1594. 00000FF2  4AA8 001C                tst.l      [A0 + 0x1C]
  1595. 00000FF6  663E                     bne        +0x40 /* 00001036 */
  1596. 00000FF8  202F 000C                move.l     D0, [A7 + 0xC]
  1597. 00000FFC  720C                     moveq.l    D1, 0x0C
  1598. 00000FFE  4EAD D8F8                jsr        [A5 - 0x2708]
  1599. 00001002  2F00                     move.l     -[A7], D0
  1600. 00001004  4EBA 4B04                jsr        [PC + 0x4B04 /* 00005B0A */]
  1601. 00001008  2256                     movea.l    A1, [A6]
  1602. 0000100A  2348 001C                move.l     [A1 + 0x1C], A0
  1603. 0000100E  2056                     movea.l    A0, [A6]
  1604. 00001010  4AA8 001C                tst.l      [A0 + 0x1C]
  1605. 00001014  584F                     addq.w     A7, 4
  1606. 00001016  660C                     bne        +0xE /* 00001024 */
  1607. 00001018  7001                     moveq.l    D0, 0x01
  1608. 0000101A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1609. 0000101E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1610. 00001022  4E75                     rts
  1611. label00001024:
  1612. 00001024  2056                     movea.l    A0, [A6]
  1613. 00001026  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  1614. 0000102A  4EBA 4B32                jsr        [PC + 0x4B32 /* 00005B5E */]
  1615. 0000102E  2A08                     move.l     D5, A0
  1616. 00001030  2648                     movea.l    A3, A0
  1617. 00001032  584F                     addq.w     A7, 4
  1618. 00001034  6056                     bra        +0x58 /* 0000108C */
  1619. label00001036:
  1620. 00001036  2056                     movea.l    A0, [A6]
  1621. 00001038  2628 0018                move.l     D3, [A0 + 0x18]
  1622. 0000103C  D6AF 000C                add.l      D3, [A7 + 0xC]
  1623. 00001040  2003                     move.l     D0, D3
  1624. 00001042  720C                     moveq.l    D1, 0x0C
  1625. 00001044  4EAD D8F8                jsr        [A5 - 0x2708]
  1626. 00001048  2F00                     move.l     -[A7], D0
  1627. 0000104A  2056                     movea.l    A0, [A6]
  1628. 0000104C  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  1629. 00001050  4EBA 4B4E                jsr        [PC + 0x4B4E /* 00005BA0 */]
  1630. 00001054  4EBA 4A8A                jsr        [PC + 0x4A8A /* 00005AE0 */]
  1631. 00001058  4A40                     tst.w      D0
  1632. 0000105A  504F                     addq.w     A7, 8
  1633. 0000105C  670C                     beq        +0xE /* 0000106A */
  1634. 0000105E  7001                     moveq.l    D0, 0x01
  1635. 00001060  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1636. 00001064  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1637. 00001068  4E75                     rts
  1638. label0000106A:
  1639. 0000106A  2056                     movea.l    A0, [A6]
  1640. 0000106C  2028 0018                move.l     D0, [A0 + 0x18]
  1641. 00001070  720C                     moveq.l    D1, 0x0C
  1642. 00001072  4EAD D8F8                jsr        [A5 - 0x2708]
  1643. 00001076  2E80                     move.l     [A7], D0
  1644. 00001078  2056                     movea.l    A0, [A6]
  1645. 0000107A  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  1646. 0000107E  4EBA 4ADE                jsr        [PC + 0x4ADE /* 00005B5E */]
  1647. 00001082  D1EF 0004                add.l      A0, [A7 + 0x4]
  1648. 00001086  2A08                     move.l     D5, A0
  1649. 00001088  2648                     movea.l    A3, A0
  1650. 0000108A  584F                     addq.w     A7, 4
  1651. label0000108C:
  1652. 0000108C  42AF 0014                clr.l      [A7 + 0x14]
  1653. 00001090  7600                     moveq.l    D3, 0x00
  1654. 00001092  6000 00B8                bra        +0xBA /* 0000114C */
  1655. label00001096:
  1656. 00001096  7004                     moveq.l    D0, 0x04
  1657. 00001098  B0AF 0014                cmp.l      D0, [A7 + 0x14]
  1658. 0000109C  6F36                     ble        +0x38 /* 000010D4 */
  1659. 0000109E  486F 0014                pea.l      [A7 + 0x14]
  1660. 000010A2  486F 0014                pea.l      [A7 + 0x14]
  1661. 000010A6  202F 0014                move.l     D0, [A7 + 0x14]
  1662. 000010AA  9083                     sub.l      D0, D3
  1663. 000010AC  E588                     lsl        D0, 2
  1664. 000010AE  2F00                     move.l     -[A7], D0
  1665. 000010B0  4878 0004                push.l     0x4
  1666. 000010B4  2F06                     move.l     -[A7], D6
  1667. 000010B6  2F0C                     move.l     -[A7], A4
  1668. 000010B8  4EBA 1392                jsr        [PC + 0x1392 /* 0000244C */]
  1669. 000010BC  3800                     move.w     D4, D0
  1670. 000010BE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1671. 000010C2  670C                     beq        +0xE /* 000010D0 */
  1672. 000010C4  3004                     move.w     D0, D4
  1673. 000010C6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1674. 000010CA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1675. 000010CE  4E75                     rts
  1676. label000010D0:
  1677. 000010D0  246F 0010                movea.l    A2, [A7 + 0x10]
  1678. label000010D4:
  1679. 000010D4  4A92                     tst.l      [A2]
  1680. 000010D6  6C66                     bge        +0x68 /* 0000113E */
  1681. 000010D8  70FF                     moveq.l    D0, 0xFFFFFFFF
  1682. 000010DA  2680                     move.l     [A3], D0
  1683. 000010DC  2012                     move.l     D0, [A2]
  1684. 000010DE  5280                     addq.l     D0, 1
  1685. 000010E0  4480                     neg.l      D0
  1686. 000010E2  2740 0004                move.l     [A3 + 0x4], D0
  1687. 000010E6  588A                     addq.l     A2, 4
  1688. 000010E8  5886                     addq.l     D6, 4
  1689. 000010EA  59AF 0014                subq.l     [A7 + 0x14], 4
  1690. 000010EE  7004                     moveq.l    D0, 0x04
  1691. 000010F0  B0AF 0014                cmp.l      D0, [A7 + 0x14]
  1692. 000010F4  6F36                     ble        +0x38 /* 0000112C */
  1693. 000010F6  486F 0014                pea.l      [A7 + 0x14]
  1694. 000010FA  486F 0014                pea.l      [A7 + 0x14]
  1695. 000010FE  202F 0014                move.l     D0, [A7 + 0x14]
  1696. 00001102  9083                     sub.l      D0, D3
  1697. 00001104  E588                     lsl        D0, 2
  1698. 00001106  2F00                     move.l     -[A7], D0
  1699. 00001108  4878 0004                push.l     0x4
  1700. 0000110C  2F06                     move.l     -[A7], D6
  1701. 0000110E  2F0C                     move.l     -[A7], A4
  1702. 00001110  4EBA 133A                jsr        [PC + 0x133A /* 0000244C */]
  1703. 00001114  3800                     move.w     D4, D0
  1704. 00001116  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1705. 0000111A  670C                     beq        +0xE /* 00001128 */
  1706. 0000111C  3004                     move.w     D0, D4
  1707. 0000111E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1708. 00001122  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1709. 00001126  4E75                     rts
  1710. label00001128:
  1711. 00001128  246F 0010                movea.l    A2, [A7 + 0x10]
  1712. label0000112C:
  1713. 0000112C  2012                     move.l     D0, [A2]
  1714. 0000112E  4480                     neg.l      D0
  1715. 00001130  D0AB 0004                add.l      D0, [A3 + 0x4]
  1716. 00001134  2740 0008                move.l     [A3 + 0x8], D0
  1717. 00001138  588A                     addq.l     A2, 4
  1718. 0000113A  5283                     addq.l     D3, 1
  1719. 0000113C  6002                     bra        +0x4 /* 00001140 */
  1720. label0000113E:
  1721. 0000113E  269A                     move.l     [A3], [A2]+
  1722. label00001140:
  1723. 00001140  5886                     addq.l     D6, 4
  1724. 00001142  59AF 0014                subq.l     [A7 + 0x14], 4
  1725. 00001146  5283                     addq.l     D3, 1
  1726. 00001148  700C                     moveq.l    D0, 0x0C
  1727. 0000114A  D7C0                     add.l      A3, D0
  1728. label0000114C:
  1729. 0000114C  B6AF 000C                cmp.l      D3, [A7 + 0xC]
  1730. 00001150  6D00 FF44                blt        -0xBA /* 00001096 */
  1731. 00001154  2056                     movea.l    A0, [A6]
  1732. 00001156  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  1733. 0000115A  4EBA 4A28                jsr        [PC + 0x4A28 /* 00005B84 */]
  1734. 0000115E  204B                     movea.l    A0, A3
  1735. 00001160  91C5                     sub.l      A0, D5
  1736. 00001162  2008                     move.l     D0, A0
  1737. 00001164  720C                     moveq.l    D1, 0x0C
  1738. 00001166  4EAD D904                jsr        [A5 - 0x26FC]
  1739. 0000116A  2056                     movea.l    A0, [A6]
  1740. 0000116C  D1A8 0018                add.l      [A0 + 0x18], D0
  1741. 00001170  2056                     movea.l    A0, [A6]
  1742. 00001172  2028 0018                move.l     D0, [A0 + 0x18]
  1743. 00001176  720C                     moveq.l    D1, 0x0C
  1744. 00001178  4EAD D8F8                jsr        [A5 - 0x2708]
  1745. 0000117C  2F00                     move.l     -[A7], D0
  1746. 0000117E  2056                     movea.l    A0, [A6]
  1747. 00001180  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  1748. 00001184  4EBA 4A1A                jsr        [PC + 0x4A1A /* 00005BA0 */]
  1749. 00001188  7000                     moveq.l    D0, 0x00
  1750. 0000118A  4FEF 0024                lea.l      A7, [A7 + 0x24]
  1751. 0000118E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1752. 00001192  4E75                     rts
  1753. fn00001194:
  1754. 00001194  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1755. 00001198  514F                     subq.w     A7, 8
  1756. 0000119A  246F 003C                movea.l    A2, [A7 + 0x3C]
  1757. 0000119E  286F 0040                movea.l    A4, [A7 + 0x40]
  1758. 000011A2  266F 0044                movea.l    A3, [A7 + 0x44]
  1759. 000011A6  2C2F 0048                move.l     D6, [A7 + 0x48]
  1760. 000011AA  3EBC 0001                move.w     [A7], 0x1
  1761. 000011AE  7800                     moveq.l    D4, 0x00
  1762. 000011B0  206F 0034                movea.l    A0, [A7 + 0x34]
  1763. 000011B4  2050                     movea.l    A0, [A0]
  1764. 000011B6  2C50                     movea.l    A6, [A0]
  1765. 000011B8  1E16                     move.b     D7, [A6]
  1766. 000011BA  4887                     ext.w      D7
  1767. 000011BC  102E 0001                move.b     D0, [A6 + 0x1]
  1768. 000011C0  4880                     ext.w      D0
  1769. 000011C2  3F40 0006                move.w     [A7 + 0x6], D0
  1770. 000011C6  206F 0038                movea.l    A0, [A7 + 0x38]
  1771. 000011CA  2F68 0022 0002           move.l     [A7 + 0x2], [A0 + 0x22]
  1772. 000011D0  206F 0030                movea.l    A0, [A7 + 0x30]
  1773. 000011D4  3A28 0042                move.w     D5, [A0 + 0x42]
  1774. 000011D8  206F 004C                movea.l    A0, [A7 + 0x4C]
  1775. 000011DC  30BC 0001                move.w     [A0], 0x1
  1776. 000011E0  4293                     clr.l      [A3]
  1777. 000011E2  2046                     movea.l    A0, D6
  1778. 000011E4  4290                     clr.l      [A0]
  1779. 000011E6  7600                     moveq.l    D3, 0x00
  1780. 000011E8  6024                     bra        +0x26 /* 0000120E */
  1781. label000011EA:
  1782. 000011EA  3007                     move.w     D0, D7
  1783. 000011EC  48C0                     ext.l      D0
  1784. 000011EE  7200                     moveq.l    D1, 0x00
  1785. 000011F0  3212                     move.w     D1, [A2]
  1786. 000011F2  B280                     cmp.l      D1, D0
  1787. 000011F4  6612                     bne        +0x14 /* 00001208 */
  1788. 000011F6  7801                     moveq.l    D4, 0x01
  1789. 000011F8  302F 0006                move.w     D0, [A7 + 0x6]
  1790. 000011FC  48C0                     ext.l      D0
  1791. 000011FE  7200                     moveq.l    D1, 0x00
  1792. 00001200  322A 0002                move.w     D1, [A2 + 0x2]
  1793. 00001204  B280                     cmp.l      D1, D0
  1794. 00001206  670E                     beq        +0x10 /* 00001216 */
  1795. label00001208:
  1796. 00001208  5283                     addq.l     D3, 1
  1797. 0000120A  700C                     moveq.l    D0, 0x0C
  1798. 0000120C  D5C0                     add.l      A2, D0
  1799. label0000120E:
  1800. 0000120E  3005                     move.w     D0, D5
  1801. 00001210  48C0                     ext.l      D0
  1802. 00001212  B680                     cmp.l      D3, D0
  1803. 00001214  6DD4                     blt        -0x2A /* 000011EA */
  1804. label00001216:
  1805. 00001216  3005                     move.w     D0, D5
  1806. 00001218  48C0                     ext.l      D0
  1807. 0000121A  B680                     cmp.l      D3, D0
  1808. 0000121C  6610                     bne        +0x12 /* 0000122E */
  1809. 0000121E  4257                     clr.w      [A7]
  1810. 00001220  4A44                     tst.w      D4
  1811. 00001222  6600 0082                bne        +0x84 /* 000012A6 */
  1812. 00001226  206F 004C                movea.l    A0, [A7 + 0x4C]
  1813. 0000122A  4250                     clr.w      [A0]
  1814. 0000122C  6078                     bra        +0x7A /* 000012A6 */
  1815. label0000122E:
  1816. 0000122E  7800                     moveq.l    D4, 0x00
  1817. 00001230  7A00                     moveq.l    D5, 0x00
  1818. 00001232  202A 0004                move.l     D0, [A2 + 0x4]
  1819. 00001236  7214                     moveq.l    D1, 0x14
  1820. 00001238  4EAD D8F8                jsr        [A5 - 0x2708]
  1821. 0000123C  D9C0                     add.l      A4, D0
  1822. 0000123E  262A 0004                move.l     D3, [A2 + 0x4]
  1823. 00001242  6044                     bra        +0x46 /* 00001288 */
  1824. label00001244:
  1825. 00001244  2F0E                     move.l     -[A7], A6
  1826. 00001246  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  1827. 0000124A  2F0C                     move.l     -[A7], A4
  1828. 0000124C  2F2F 003C                move.l     -[A7], [A7 + 0x3C]
  1829. 00001250  4EBA 1D6E                jsr        [PC + 0x1D6E /* 00002FC0 */]
  1830. 00001254  4A40                     tst.w      D0
  1831. 00001256  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1832. 0000125A  670A                     beq        +0xC /* 00001266 */
  1833. 0000125C  4A44                     tst.w      D4
  1834. 0000125E  6622                     bne        +0x24 /* 00001282 */
  1835. 00001260  2683                     move.l     [A3], D3
  1836. 00001262  7801                     moveq.l    D4, 0x01
  1837. 00001264  601C                     bra        +0x1E /* 00001282 */
  1838. label00001266:
  1839. 00001266  4A44                     tst.w      D4
  1840. 00001268  6718                     beq        +0x1A /* 00001282 */
  1841. 0000126A  2003                     move.l     D0, D3
  1842. 0000126C  5380                     subq.l     D0, 1
  1843. 0000126E  B093                     cmp.l      D0, [A3]
  1844. 00001270  6D06                     blt        +0x8 /* 00001278 */
  1845. 00001272  2003                     move.l     D0, D3
  1846. 00001274  5380                     subq.l     D0, 1
  1847. 00001276  6002                     bra        +0x4 /* 0000127A */
  1848. label00001278:
  1849. 00001278  2013                     move.l     D0, [A3]
  1850. label0000127A:
  1851. 0000127A  2046                     movea.l    A0, D6
  1852. 0000127C  2080                     move.l     [A0], D0
  1853. 0000127E  7A01                     moveq.l    D5, 0x01
  1854. 00001280  600C                     bra        +0xE /* 0000128E */
  1855. label00001282:
  1856. 00001282  5283                     addq.l     D3, 1
  1857. 00001284  7014                     moveq.l    D0, 0x14
  1858. 00001286  D9C0                     add.l      A4, D0
  1859. label00001288:
  1860. 00001288  B6AA 0008                cmp.l      D3, [A2 + 0x8]
  1861. 0000128C  6FB6                     ble        -0x48 /* 00001244 */
  1862. label0000128E:
  1863. 0000128E  4A45                     tst.w      D5
  1864. 00001290  6614                     bne        +0x16 /* 000012A6 */
  1865. 00001292  2003                     move.l     D0, D3
  1866. 00001294  5380                     subq.l     D0, 1
  1867. 00001296  B093                     cmp.l      D0, [A3]
  1868. 00001298  6D06                     blt        +0x8 /* 000012A0 */
  1869. 0000129A  2003                     move.l     D0, D3
  1870. 0000129C  5380                     subq.l     D0, 1
  1871. 0000129E  6002                     bra        +0x4 /* 000012A2 */
  1872. label000012A0:
  1873. 000012A0  2013                     move.l     D0, [A3]
  1874. label000012A2:
  1875. 000012A2  2046                     movea.l    A0, D6
  1876. 000012A4  2080                     move.l     [A0], D0
  1877. label000012A6:
  1878. 000012A6  3017                     move.w     D0, [A7]
  1879. 000012A8  504F                     addq.w     A7, 8
  1880. 000012AA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1881. 000012AE  4E75                     rts
  1882. fn000012B0:
  1883. 000012B0  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1884. 000012B4  5D4F                     subq.w     A7, 6
  1885. 000012B6  246F 003A                movea.l    A2, [A7 + 0x3A]
  1886. 000012BA  286F 003E                movea.l    A4, [A7 + 0x3E]
  1887. 000012BE  266F 0042                movea.l    A3, [A7 + 0x42]
  1888. 000012C2  2C6F 0046                movea.l    A6, [A7 + 0x46]
  1889. 000012C6  3EBC 0001                move.w     [A7], 0x1
  1890. 000012CA  7800                     moveq.l    D4, 0x00
  1891. 000012CC  206F 0032                movea.l    A0, [A7 + 0x32]
  1892. 000012D0  2050                     movea.l    A0, [A0]
  1893. 000012D2  2610                     move.l     D3, [A0]
  1894. 000012D4  2043                     movea.l    A0, D3
  1895. 000012D6  1C10                     move.b     D6, [A0]
  1896. 000012D8  4886                     ext.w      D6
  1897. 000012DA  1E28 0001                move.b     D7, [A0 + 0x1]
  1898. 000012DE  4887                     ext.w      D7
  1899. 000012E0  206F 0036                movea.l    A0, [A7 + 0x36]
  1900. 000012E4  2F68 0022 0002           move.l     [A7 + 0x2], [A0 + 0x22]
  1901. 000012EA  206F 002E                movea.l    A0, [A7 + 0x2E]
  1902. 000012EE  3A28 0042                move.w     D5, [A0 + 0x42]
  1903. 000012F2  206F 004A                movea.l    A0, [A7 + 0x4A]
  1904. 000012F6  30BC 0001                move.w     [A0], 0x1
  1905. 000012FA  4293                     clr.l      [A3]
  1906. 000012FC  4296                     clr.l      [A6]
  1907. 000012FE  7600                     moveq.l    D3, 0x00
  1908. 00001300  6022                     bra        +0x24 /* 00001324 */
  1909. label00001302:
  1910. 00001302  3006                     move.w     D0, D6
  1911. 00001304  48C0                     ext.l      D0
  1912. 00001306  7200                     moveq.l    D1, 0x00
  1913. 00001308  3212                     move.w     D1, [A2]
  1914. 0000130A  B280                     cmp.l      D1, D0
  1915. 0000130C  6610                     bne        +0x12 /* 0000131E */
  1916. 0000130E  7801                     moveq.l    D4, 0x01
  1917. 00001310  3007                     move.w     D0, D7
  1918. 00001312  48C0                     ext.l      D0
  1919. 00001314  7200                     moveq.l    D1, 0x00
  1920. 00001316  322A 0002                move.w     D1, [A2 + 0x2]
  1921. 0000131A  B280                     cmp.l      D1, D0
  1922. 0000131C  670E                     beq        +0x10 /* 0000132C */
  1923. label0000131E:
  1924. 0000131E  5283                     addq.l     D3, 1
  1925. 00001320  700C                     moveq.l    D0, 0x0C
  1926. 00001322  D5C0                     add.l      A2, D0
  1927. label00001324:
  1928. 00001324  3005                     move.w     D0, D5
  1929. 00001326  48C0                     ext.l      D0
  1930. 00001328  B680                     cmp.l      D3, D0
  1931. 0000132A  6DD6                     blt        -0x28 /* 00001302 */
  1932. label0000132C:
  1933. 0000132C  3005                     move.w     D0, D5
  1934. 0000132E  48C0                     ext.l      D0
  1935. 00001330  B680                     cmp.l      D3, D0
  1936. 00001332  6612                     bne        +0x14 /* 00001346 */
  1937. 00001334  4257                     clr.w      [A7]
  1938. 00001336  4A44                     tst.w      D4
  1939. 00001338  6600 009C                bne        +0x9E /* 000013D6 */
  1940. 0000133C  206F 004A                movea.l    A0, [A7 + 0x4A]
  1941. 00001340  4250                     clr.w      [A0]
  1942. 00001342  6000 0092                bra        +0x94 /* 000013D6 */
  1943. label00001346:
  1944. 00001346  7800                     moveq.l    D4, 0x00
  1945. 00001348  7A00                     moveq.l    D5, 0x00
  1946. 0000134A  206F 0032                movea.l    A0, [A7 + 0x32]
  1947. 0000134E  2050                     movea.l    A0, [A0]
  1948. 00001350  2C10                     move.l     D6, [A0]
  1949. 00001352  206F 0032                movea.l    A0, [A7 + 0x32]
  1950. 00001356  2050                     movea.l    A0, [A0]
  1951. 00001358  2E28 0004                move.l     D7, [A0 + 0x4]
  1952. 0000135C  202A 0004                move.l     D0, [A2 + 0x4]
  1953. 00001360  7214                     moveq.l    D1, 0x14
  1954. 00001362  4EAD D8F8                jsr        [A5 - 0x2708]
  1955. 00001366  D9C0                     add.l      A4, D0
  1956. 00001368  262A 0004                move.l     D3, [A2 + 0x4]
  1957. 0000136C  6044                     bra        +0x46 /* 000013B2 */
  1958. label0000136E:
  1959. 0000136E  2F07                     move.l     -[A7], D7
  1960. 00001370  2F06                     move.l     -[A7], D6
  1961. 00001372  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  1962. 00001376  2F0C                     move.l     -[A7], A4
  1963. 00001378  2F2F 003E                move.l     -[A7], [A7 + 0x3E]
  1964. 0000137C  4EBA 1C9A                jsr        [PC + 0x1C9A /* 00003018 */]
  1965. 00001380  4A40                     tst.w      D0
  1966. 00001382  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1967. 00001386  670A                     beq        +0xC /* 00001392 */
  1968. 00001388  4A44                     tst.w      D4
  1969. 0000138A  6620                     bne        +0x22 /* 000013AC */
  1970. 0000138C  2683                     move.l     [A3], D3
  1971. 0000138E  7801                     moveq.l    D4, 0x01
  1972. 00001390  601A                     bra        +0x1C /* 000013AC */
  1973. label00001392:
  1974. 00001392  4A44                     tst.w      D4
  1975. 00001394  6716                     beq        +0x18 /* 000013AC */
  1976. 00001396  2003                     move.l     D0, D3
  1977. 00001398  5380                     subq.l     D0, 1
  1978. 0000139A  B093                     cmp.l      D0, [A3]
  1979. 0000139C  6D06                     blt        +0x8 /* 000013A4 */
  1980. 0000139E  2003                     move.l     D0, D3
  1981. 000013A0  5380                     subq.l     D0, 1
  1982. 000013A2  6002                     bra        +0x4 /* 000013A6 */
  1983. label000013A4:
  1984. 000013A4  2013                     move.l     D0, [A3]
  1985. label000013A6:
  1986. 000013A6  2C80                     move.l     [A6], D0
  1987. 000013A8  7A01                     moveq.l    D5, 0x01
  1988. 000013AA  600C                     bra        +0xE /* 000013B8 */
  1989. label000013AC:
  1990. 000013AC  5283                     addq.l     D3, 1
  1991. 000013AE  7014                     moveq.l    D0, 0x14
  1992. 000013B0  D9C0                     add.l      A4, D0
  1993. label000013B2:
  1994. 000013B2  B6AA 0008                cmp.l      D3, [A2 + 0x8]
  1995. 000013B6  6FB6                     ble        -0x48 /* 0000136E */
  1996. label000013B8:
  1997. 000013B8  4A44                     tst.w      D4
  1998. 000013BA  6718                     beq        +0x1A /* 000013D4 */
  1999. 000013BC  4A45                     tst.w      D5
  2000. 000013BE  6616                     bne        +0x18 /* 000013D6 */
  2001. 000013C0  2003                     move.l     D0, D3
  2002. 000013C2  5380                     subq.l     D0, 1
  2003. 000013C4  B093                     cmp.l      D0, [A3]
  2004. 000013C6  6D06                     blt        +0x8 /* 000013CE */
  2005. 000013C8  2003                     move.l     D0, D3
  2006. 000013CA  5380                     subq.l     D0, 1
  2007. 000013CC  6002                     bra        +0x4 /* 000013D0 */
  2008. label000013CE:
  2009. 000013CE  2013                     move.l     D0, [A3]
  2010. label000013D0:
  2011. 000013D0  2C80                     move.l     [A6], D0
  2012. 000013D2  6002                     bra        +0x4 /* 000013D6 */
  2013. label000013D4:
  2014. 000013D4  4257                     clr.w      [A7]
  2015. label000013D6:
  2016. 000013D6  3017                     move.w     D0, [A7]
  2017. 000013D8  5C4F                     addq.w     A7, 6
  2018. 000013DA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2019. 000013DE  4E75                     rts
  2020. fn000013E0:
  2021. 000013E0  2F04                     move.l     -[A7], D4
  2022. 000013E2  282F 000C                move.l     D4, [A7 + 0xC]
  2023. 000013E6  206F 0008                movea.l    A0, [A7 + 0x8]
  2024. 000013EA  41E8 00B8                lea.l      A0, [A0 + 0xB8]
  2025. 000013EE  7400                     moveq.l    D2, 0x00
  2026. 000013F0  6016                     bra        +0x18 /* 00001408 */
  2027. label000013F2:
  2028. 000013F2  B8A8 0008                cmp.l      D4, [A0 + 0x8]
  2029. 000013F6  6704                     beq        +0x6 /* 000013FC */
  2030. 000013F8  4A90                     tst.l      [A0]
  2031. 000013FA  6606                     bne        +0x8 /* 00001402 */
  2032. label000013FC:
  2033. 000013FC  3002                     move.w     D0, D2
  2034. 000013FE  281F                     move.l     D4, [A7]+
  2035. 00001400  4E75                     rts
  2036. label00001402:
  2037. 00001402  5242                     addq.w     D2, 1
  2038. 00001404  700C                     moveq.l    D0, 0x0C
  2039. 00001406  D1C0                     add.l      A0, D0
  2040. label00001408:
  2041. 00001408  3002                     move.w     D0, D2
  2042. 0000140A  48C0                     ext.l      D0
  2043. 0000140C  721E                     moveq.l    D1, 0x1E
  2044. 0000140E  B081                     cmp.l      D0, D1
  2045. 00001410  6DE0                     blt        -0x1E /* 000013F2 */
  2046. 00001412  70FF                     moveq.l    D0, 0xFFFFFFFF
  2047. 00001414  281F                     move.l     D4, [A7]+
  2048. 00001416  4E75                     rts
  2049. fn00001418:
  2050. 00001418  2F04                     move.l     -[A7], D4
  2051. 0000141A  382F 000C                move.w     D4, [A7 + 0xC]
  2052. 0000141E  206F 0008                movea.l    A0, [A7 + 0x8]
  2053. 00001422  41E8 0224                lea.l      A0, [A0 + 0x224]
  2054. 00001426  7400                     moveq.l    D2, 0x00
  2055. 00001428  601A                     bra        +0x1C /* 00001444 */
  2056. label0000142A:
  2057. 0000142A  3004                     move.w     D0, D4
  2058. 0000142C  48C0                     ext.l      D0
  2059. 0000142E  B0A8 0008                cmp.l      D0, [A0 + 0x8]
  2060. 00001432  6704                     beq        +0x6 /* 00001438 */
  2061. 00001434  4A90                     tst.l      [A0]
  2062. 00001436  6606                     bne        +0x8 /* 0000143E */
  2063. label00001438:
  2064. 00001438  3002                     move.w     D0, D2
  2065. 0000143A  281F                     move.l     D4, [A7]+
  2066. 0000143C  4E75                     rts
  2067. label0000143E:
  2068. 0000143E  5242                     addq.w     D2, 1
  2069. 00001440  700C                     moveq.l    D0, 0x0C
  2070. 00001442  D1C0                     add.l      A0, D0
  2071. label00001444:
  2072. 00001444  3002                     move.w     D0, D2
  2073. 00001446  48C0                     ext.l      D0
  2074. 00001448  7214                     moveq.l    D1, 0x14
  2075. 0000144A  B081                     cmp.l      D0, D1
  2076. 0000144C  6DDC                     blt        -0x22 /* 0000142A */
  2077. 0000144E  70FF                     moveq.l    D0, 0xFFFFFFFF
  2078. 00001450  281F                     move.l     D4, [A7]+
  2079. 00001452  4E75                     rts
  2080. fn00001454:
  2081. 00001454  2F05                     move.l     -[A7], D5
  2082. 00001456  226F 0008                movea.l    A1, [A7 + 0x8]
  2083. 0000145A  701E                     moveq.l    D0, 0x1E
  2084. 0000145C  B0A9 0220                cmp.l      D0, [A1 + 0x220]
  2085. 00001460  6F0E                     ble        +0x10 /* 00001470 */
  2086. 00001462  3229 0222                move.w     D1, [A1 + 0x222]
  2087. 00001466  52A9 0220                addq.l     [A1 + 0x220], 1
  2088. 0000146A  3001                     move.w     D0, D1
  2089. 0000146C  2A1F                     move.l     D5, [A7]+
  2090. 0000146E  4E75                     rts
  2091. label00001470:
  2092. 00001470  7A00                     moveq.l    D5, 0x00
  2093. 00001472  2049                     movea.l    A0, A1
  2094. 00001474  41E8 00B8                lea.l      A0, [A0 + 0xB8]
  2095. 00001478  2428 0004                move.l     D2, [A0 + 0x4]
  2096. 0000147C  7200                     moveq.l    D1, 0x00
  2097. 0000147E  6012                     bra        +0x14 /* 00001492 */
  2098. label00001480:
  2099. 00001480  B4A8 0004                cmp.l      D2, [A0 + 0x4]
  2100. 00001484  6F06                     ble        +0x8 /* 0000148C */
  2101. 00001486  2428 0004                move.l     D2, [A0 + 0x4]
  2102. 0000148A  2A01                     move.l     D5, D1
  2103. label0000148C:
  2104. 0000148C  5281                     addq.l     D1, 1
  2105. 0000148E  700C                     moveq.l    D0, 0x0C
  2106. 00001490  D1C0                     add.l      A0, D0
  2107. label00001492:
  2108. 00001492  701E                     moveq.l    D0, 0x1E
  2109. 00001494  B280                     cmp.l      D1, D0
  2110. 00001496  6DE8                     blt        -0x16 /* 00001480 */
  2111. 00001498  3005                     move.w     D0, D5
  2112. 0000149A  2A1F                     move.l     D5, [A7]+
  2113. 0000149C  4E75                     rts
  2114. fn0000149E:
  2115. 0000149E  2F05                     move.l     -[A7], D5
  2116. 000014A0  226F 0008                movea.l    A1, [A7 + 0x8]
  2117. 000014A4  7014                     moveq.l    D0, 0x14
  2118. 000014A6  B0A9 0314                cmp.l      D0, [A1 + 0x314]
  2119. 000014AA  6F0E                     ble        +0x10 /* 000014BA */
  2120. 000014AC  3229 0316                move.w     D1, [A1 + 0x316]
  2121. 000014B0  52A9 0314                addq.l     [A1 + 0x314], 1
  2122. 000014B4  3001                     move.w     D0, D1
  2123. 000014B6  2A1F                     move.l     D5, [A7]+
  2124. 000014B8  4E75                     rts
  2125. label000014BA:
  2126. 000014BA  7A00                     moveq.l    D5, 0x00
  2127. 000014BC  2049                     movea.l    A0, A1
  2128. 000014BE  41E8 0224                lea.l      A0, [A0 + 0x224]
  2129. 000014C2  2428 0004                move.l     D2, [A0 + 0x4]
  2130. 000014C6  7200                     moveq.l    D1, 0x00
  2131. 000014C8  6012                     bra        +0x14 /* 000014DC */
  2132. label000014CA:
  2133. 000014CA  B4A8 0004                cmp.l      D2, [A0 + 0x4]
  2134. 000014CE  6F06                     ble        +0x8 /* 000014D6 */
  2135. 000014D0  2428 0004                move.l     D2, [A0 + 0x4]
  2136. 000014D4  2A01                     move.l     D5, D1
  2137. label000014D6:
  2138. 000014D6  5281                     addq.l     D1, 1
  2139. 000014D8  700C                     moveq.l    D0, 0x0C
  2140. 000014DA  D1C0                     add.l      A0, D0
  2141. label000014DC:
  2142. 000014DC  7014                     moveq.l    D0, 0x14
  2143. 000014DE  B280                     cmp.l      D1, D0
  2144. 000014E0  6DE8                     blt        -0x16 /* 000014CA */
  2145. 000014E2  3005                     move.w     D0, D5
  2146. 000014E4  2A1F                     move.l     D5, [A7]+
  2147. 000014E6  4E75                     rts
  2148. fn000014E8:
  2149. 000014E8  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  2150. 000014EC  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  2151. 000014F0  246F 0030                movea.l    A2, [A7 + 0x30]
  2152. 000014F4  286F 0034                movea.l    A4, [A7 + 0x34]
  2153. 000014F8  2054                     movea.l    A0, [A4]
  2154. 000014FA  2650                     movea.l    A3, [A0]
  2155. 000014FC  2C4A                     movea.l    A6, A2
  2156. 000014FE  4DEE 002C                lea.l      A6, [A6 + 0x2C]
  2157. 00001502  7800                     moveq.l    D4, 0x00
  2158. 00001504  426F 0008                clr.w      [A7 + 0x8]
  2159. 00001508  9DCE                     sub.l      A6, A6
  2160. 0000150A  7600                     moveq.l    D3, 0x00
  2161. 0000150C  162B 0001                move.b     D3, [A3 + 0x1]
  2162. 00001510  4883                     ext.w      D3
  2163. 00001512  4AAA 0014                tst.l      [A2 + 0x14]
  2164. 00001516  660C                     bne        +0xE /* 00001524 */
  2165. 00001518  7000                     moveq.l    D0, 0x00
  2166. 0000151A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2167. 0000151E  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2168. 00001522  4E75                     rts
  2169. label00001524:
  2170. 00001524  2F0B                     move.l     -[A7], A3
  2171. 00001526  3F03                     move.w     -[A7], D3
  2172. 00001528  2F0A                     move.l     -[A7], A2
  2173. 0000152A  4EBA 1B60                jsr        [PC + 0x1B60 /* 0000308C */]
  2174. 0000152E  3940 001A                move.w     [A4 + 0x1A], D0
  2175. 00001532  486F 0010                pea.l      [A7 + 0x10]
  2176. 00001536  2F0C                     move.l     -[A7], A4
  2177. 00001538  2F0A                     move.l     -[A7], A2
  2178. 0000153A  4EBA 0A4A                jsr        [PC + 0xA4A /* 00001F86 */]
  2179. 0000153E  4A40                     tst.w      D0
  2180. 00001540  4FEF 0016                lea.l      A7, [A7 + 0x16]
  2181. 00001544  674A                     beq        +0x4C /* 00001590 */
  2182. 00001546  302F 0006                move.w     D0, [A7 + 0x6]
  2183. 0000154A  C1FC 04D2                muls.w     D0, 0x4D2
  2184. 0000154E  2E80                     move.l     [A7], D0
  2185. 00001550  2F2A 0320                move.l     -[A7], [A2 + 0x320]
  2186. 00001554  4EBA 4608                jsr        [PC + 0x4608 /* 00005B5E */]
  2187. 00001558  D1EF 0004                add.l      A0, [A7 + 0x4]
  2188. 0000155C  2648                     movea.l    A3, A0
  2189. 0000155E  2054                     movea.l    A0, [A4]
  2190. 00001560  2068 000C                movea.l    A0, [A0 + 0xC]
  2191. 00001564  226B 04BA                movea.l    A1, [A3 + 0x4BA]
  2192. 00001568  222A 0010                move.l     D1, [A2 + 0x10]
  2193. 0000156C  2008                     move.l     D0, A0
  2194. 0000156E  4A81                     tst.l      D1
  2195. 00001570  6706                     beq        +0x8 /* 00001578 */
  2196. label00001572:
  2197. 00001572  10D9                     move.b     [A0]+, [A1]+
  2198. 00001574  5381                     subq.l     D1, 1
  2199. 00001576  66FA                     bne        -0x4 /* 00001572 */
  2200. label00001578:
  2201. 00001578  2F2A 0320                move.l     -[A7], [A2 + 0x320]
  2202. 0000157C  4EBA 4606                jsr        [PC + 0x4606 /* 00005B84 */]
  2203. 00001580  52AC 000E                addq.l     [A4 + 0xE], 1
  2204. 00001584  7000                     moveq.l    D0, 0x00
  2205. 00001586  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2206. 0000158A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2207. 0000158E  4E75                     rts
  2208. label00001590:
  2209. 00001590  3F3C 0001                move.w     -[A7], 0x1
  2210. 00001594  2F0A                     move.l     -[A7], A2
  2211. 00001596  4EBA 19EA                jsr        [PC + 0x19EA /* 00002F82 */]
  2212. 0000159A  266A 0018                movea.l    A3, [A2 + 0x18]
  2213. 0000159E  3F3C 0001                move.w     -[A7], 0x1
  2214. 000015A2  2F0A                     move.l     -[A7], A2
  2215. 000015A4  4EBA 199E                jsr        [PC + 0x199E /* 00002F44 */]
  2216. 000015A8  3F3C 0001                move.w     -[A7], 0x1
  2217. 000015AC  2F0A                     move.l     -[A7], A2
  2218. 000015AE  4EBA 1956                jsr        [PC + 0x1956 /* 00002F06 */]
  2219. 000015B2  2C48                     movea.l    A6, A0
  2220. 000015B4  7062                     moveq.l    D0, 0x62
  2221. 000015B6  C1C3                     muls.w     D0, D3
  2222. 000015B8  DDC0                     add.l      A6, D0
  2223. 000015BA  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2224. 000015BE  4EBA 459E                jsr        [PC + 0x459E /* 00005B5E */]
  2225. 000015C2  2608                     move.l     D3, A0
  2226. 000015C4  486F 001A                pea.l      [A7 + 0x1A]
  2227. 000015C8  486F 0028                pea.l      [A7 + 0x28]
  2228. 000015CC  486F 0028                pea.l      [A7 + 0x28]
  2229. 000015D0  2F0B                     move.l     -[A7], A3
  2230. 000015D2  2F03                     move.l     -[A7], D3
  2231. 000015D4  2F0E                     move.l     -[A7], A6
  2232. 000015D6  2F0C                     move.l     -[A7], A4
  2233. 000015D8  2F0A                     move.l     -[A7], A2
  2234. 000015DA  4EBA FBB8                jsr        [PC - 0x448 /* 00001194 */]
  2235. 000015DE  3800                     move.w     D4, D0
  2236. 000015E0  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2237. 000015E4  4EBA 459E                jsr        [PC + 0x459E /* 00005B84 */]
  2238. 000015E8  7600                     moveq.l    D3, 0x00
  2239. 000015EA  4A44                     tst.w      D4
  2240. 000015EC  4FEF 003A                lea.l      A7, [A7 + 0x3A]
  2241. 000015F0  663A                     bne        +0x3C /* 0000162C */
  2242. label000015F2:
  2243. 000015F2  4267                     clr.w      -[A7]
  2244. 000015F4  2F0A                     move.l     -[A7], A2
  2245. 000015F6  4EBA 190E                jsr        [PC + 0x190E /* 00002F06 */]
  2246. 000015FA  4267                     clr.w      -[A7]
  2247. 000015FC  2F0A                     move.l     -[A7], A2
  2248. 000015FE  4EBA 1944                jsr        [PC + 0x1944 /* 00002F44 */]
  2249. 00001602  4267                     clr.w      -[A7]
  2250. 00001604  2F0A                     move.l     -[A7], A2
  2251. 00001606  4EBA 197A                jsr        [PC + 0x197A /* 00002F82 */]
  2252. 0000160A  4A6F 0016                tst.w      [A7 + 0x16]
  2253. 0000160E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  2254. 00001612  660C                     bne        +0xE /* 00001620 */
  2255. 00001614  700D                     moveq.l    D0, 0x0D
  2256. 00001616  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2257. 0000161A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2258. 0000161E  4E75                     rts
  2259. label00001620:
  2260. 00001620  7000                     moveq.l    D0, 0x00
  2261. 00001622  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2262. 00001626  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2263. 0000162A  4E75                     rts
  2264. label0000162C:
  2265. 0000162C  202F 000A                move.l     D0, [A7 + 0xA]
  2266. 00001630  7214                     moveq.l    D1, 0x14
  2267. 00001632  4EAD D8F8                jsr        [A5 - 0x2708]
  2268. 00001636  D7C0                     add.l      A3, D0
  2269. 00001638  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  2270. 0000163C  4EAD EC40                jsr        [A5 - 0x13C0]
  2271. 00001640  2548 0318                move.l     [A2 + 0x318], A0
  2272. 00001644  4AAA 0318                tst.l      [A2 + 0x318]
  2273. 00001648  584F                     addq.w     A7, 4
  2274. 0000164A  6604                     bne        +0x6 /* 00001650 */
  2275. 0000164C  7801                     moveq.l    D4, 0x01
  2276. 0000164E  60A2                     bra        -0x5C /* 000015F2 */
  2277. label00001650:
  2278. 00001650  262E 0022                move.l     D3, [A6 + 0x22]
  2279. 00001654  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2280. 00001658  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2281. 0000165C  2F0A                     move.l     -[A7], A2
  2282. 0000165E  4EBA 1A94                jsr        [PC + 0x1A94 /* 000030F4 */]
  2283. 00001662  4A40                     tst.w      D0
  2284. 00001664  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2285. 00001668  6724                     beq        +0x26 /* 0000168E */
  2286. 0000166A  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2287. 0000166E  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2288. 00001672  2F0A                     move.l     -[A7], A2
  2289. 00001674  4EBA 1A94                jsr        [PC + 0x1A94 /* 0000310A */]
  2290. 00001678  2600                     move.l     D3, D0
  2291. 0000167A  4A83                     tst.l      D3
  2292. 0000167C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2293. 00001680  670C                     beq        +0xE /* 0000168E */
  2294. 00001682  2F03                     move.l     -[A7], D3
  2295. 00001684  3F3C 0001                move.w     -[A7], 0x1
  2296. 00001688  4EAD ECE0                jsr        [A5 - 0x1320]
  2297. 0000168C  5C4F                     addq.w     A7, 6
  2298. label0000168E:
  2299. 0000168E  7806                     moveq.l    D4, 0x06
  2300. 00001690  262F 000A                move.l     D3, [A7 + 0xA]
  2301. 00001694  6034                     bra        +0x36 /* 000016CA */
  2302. label00001696:
  2303. 00001696  486F 0012                pea.l      [A7 + 0x12]
  2304. 0000169A  2F03                     move.l     -[A7], D3
  2305. 0000169C  2F0A                     move.l     -[A7], A2
  2306. 0000169E  4EBA EF5C                jsr        [PC - 0x10A4 /* 000005FC */]
  2307. 000016A2  3800                     move.w     D4, D0
  2308. 000016A4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2309. 000016A8  6626                     bne        +0x28 /* 000016D0 */
  2310. 000016AA  3F3C 0001                move.w     -[A7], 0x1
  2311. 000016AE  2F0C                     move.l     -[A7], A4
  2312. 000016B0  2F0B                     move.l     -[A7], A3
  2313. 000016B2  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  2314. 000016B6  2F0A                     move.l     -[A7], A2
  2315. 000016B8  4EBA 0518                jsr        [PC + 0x518 /* 00001BD2 */]
  2316. 000016BC  3800                     move.w     D4, D0
  2317. 000016BE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2318. 000016C2  660C                     bne        +0xE /* 000016D0 */
  2319. 000016C4  5283                     addq.l     D3, 1
  2320. 000016C6  7014                     moveq.l    D0, 0x14
  2321. 000016C8  D7C0                     add.l      A3, D0
  2322. label000016CA:
  2323. 000016CA  B6AF 000E                cmp.l      D3, [A7 + 0xE]
  2324. 000016CE  6FC6                     ble        -0x38 /* 00001696 */
  2325. label000016D0:
  2326. 000016D0  42A7                     clr.l      -[A7]
  2327. 000016D2  4267                     clr.w      -[A7]
  2328. 000016D4  4EAD ECE0                jsr        [A5 - 0x1320]
  2329. 000016D8  4267                     clr.w      -[A7]
  2330. 000016DA  2F0A                     move.l     -[A7], A2
  2331. 000016DC  4EBA 1866                jsr        [PC + 0x1866 /* 00002F44 */]
  2332. 000016E0  4267                     clr.w      -[A7]
  2333. 000016E2  2F0A                     move.l     -[A7], A2
  2334. 000016E4  4EBA 1820                jsr        [PC + 0x1820 /* 00002F06 */]
  2335. 000016E8  4267                     clr.w      -[A7]
  2336. 000016EA  2F0A                     move.l     -[A7], A2
  2337. 000016EC  4EBA 1894                jsr        [PC + 0x1894 /* 00002F82 */]
  2338. 000016F0  0C44 0006                cmpi.w     D4, 0x6
  2339. 000016F4  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2340. 000016F8  671C                     beq        +0x1E /* 00001716 */
  2341. 000016FA  4A44                     tst.w      D4
  2342. 000016FC  661A                     bne        +0x1C /* 00001718 */
  2343. 000016FE  486F 0008                pea.l      [A7 + 0x8]
  2344. 00001702  2F2A 0318                move.l     -[A7], [A2 + 0x318]
  2345. 00001706  2F0C                     move.l     -[A7], A4
  2346. 00001708  2F0A                     move.l     -[A7], A2
  2347. 0000170A  4EBA 09A0                jsr        [PC + 0x9A0 /* 000020AC */]
  2348. 0000170E  3800                     move.w     D4, D0
  2349. 00001710  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2350. 00001714  6002                     bra        +0x4 /* 00001718 */
  2351. label00001716:
  2352. 00001716  7800                     moveq.l    D4, 0x00
  2353. label00001718:
  2354. 00001718  4A6F 0008                tst.w      [A7 + 0x8]
  2355. 0000171C  6620                     bne        +0x22 /* 0000173E */
  2356. 0000171E  4AAA 0318                tst.l      [A2 + 0x318]
  2357. 00001722  670A                     beq        +0xC /* 0000172E */
  2358. 00001724  2F2A 0318                move.l     -[A7], [A2 + 0x318]
  2359. 00001728  4EBA 44F6                jsr        [PC + 0x44F6 /* 00005C20 */]
  2360. 0000172C  584F                     addq.w     A7, 4
  2361. label0000172E:
  2362. 0000172E  4AAC 0024                tst.l      [A4 + 0x24]
  2363. 00001732  670A                     beq        +0xC /* 0000173E */
  2364. 00001734  2F2C 0024                move.l     -[A7], [A4 + 0x24]
  2365. 00001738  4EBA 4408                jsr        [PC + 0x4408 /* 00005B42 */]
  2366. 0000173C  584F                     addq.w     A7, 4
  2367. label0000173E:
  2368. 0000173E  42AA 0318                clr.l      [A2 + 0x318]
  2369. 00001742  4878 0010                push.l     0x10
  2370. 00001746  42A7                     clr.l      -[A7]
  2371. 00001748  486C 0020                pea.l      [A4 + 0x20]
  2372. 0000174C  4EAD D94C                jsr        [A5 - 0x26B4]
  2373. 00001750  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  2374. 00001754  4EBA 442E                jsr        [PC + 0x442E /* 00005B84 */]
  2375. 00001758  42AA 0018                clr.l      [A2 + 0x18]
  2376. 0000175C  3004                     move.w     D0, D4
  2377. 0000175E  4FEF 0024                lea.l      A7, [A7 + 0x24]
  2378. 00001762  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2379. 00001766  4E75                     rts
  2380. fn00001768:
  2381. 00001768  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  2382. 0000176C  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  2383. 00001770  246F 0034                movea.l    A2, [A7 + 0x34]
  2384. 00001774  266F 0038                movea.l    A3, [A7 + 0x38]
  2385. 00001778  99CC                     sub.l      A4, A4
  2386. 0000177A  9DCE                     sub.l      A6, A6
  2387. 0000177C  7600                     moveq.l    D3, 0x00
  2388. 0000177E  7800                     moveq.l    D4, 0x00
  2389. 00001780  4AAA 0014                tst.l      [A2 + 0x14]
  2390. 00001784  660C                     bne        +0xE /* 00001792 */
  2391. 00001786  7000                     moveq.l    D0, 0x00
  2392. 00001788  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2393. 0000178C  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2394. 00001790  4E75                     rts
  2395. label00001792:
  2396. 00001792  2053                     movea.l    A0, [A3]
  2397. 00001794  2850                     movea.l    A4, [A0]
  2398. 00001796  2053                     movea.l    A0, [A3]
  2399. 00001798  2C68 0004                movea.l    A6, [A0 + 0x4]
  2400. 0000179C  162C 0001                move.b     D3, [A4 + 0x1]
  2401. 000017A0  4883                     ext.w      D3
  2402. 000017A2  2F0C                     move.l     -[A7], A4
  2403. 000017A4  3F03                     move.w     -[A7], D3
  2404. 000017A6  2F0A                     move.l     -[A7], A2
  2405. 000017A8  4EBA 18E2                jsr        [PC + 0x18E2 /* 0000308C */]
  2406. 000017AC  3740 001A                move.w     [A3 + 0x1A], D0
  2407. 000017B0  2F0E                     move.l     -[A7], A6
  2408. 000017B2  3F03                     move.w     -[A7], D3
  2409. 000017B4  2F0A                     move.l     -[A7], A2
  2410. 000017B6  4EBA 18D4                jsr        [PC + 0x18D4 /* 0000308C */]
  2411. 000017BA  3740 001C                move.w     [A3 + 0x1C], D0
  2412. 000017BE  486F 001C                pea.l      [A7 + 0x1C]
  2413. 000017C2  2F0B                     move.l     -[A7], A3
  2414. 000017C4  2F0A                     move.l     -[A7], A2
  2415. 000017C6  4EBA 07BE                jsr        [PC + 0x7BE /* 00001F86 */]
  2416. 000017CA  4A40                     tst.w      D0
  2417. 000017CC  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2418. 000017D0  674A                     beq        +0x4C /* 0000181C */
  2419. 000017D2  302F 0008                move.w     D0, [A7 + 0x8]
  2420. 000017D6  C1FC 04D2                muls.w     D0, 0x4D2
  2421. 000017DA  2E80                     move.l     [A7], D0
  2422. 000017DC  2F2A 0320                move.l     -[A7], [A2 + 0x320]
  2423. 000017E0  4EBA 437C                jsr        [PC + 0x437C /* 00005B5E */]
  2424. 000017E4  D1EF 0004                add.l      A0, [A7 + 0x4]
  2425. 000017E8  2848                     movea.l    A4, A0
  2426. 000017EA  2053                     movea.l    A0, [A3]
  2427. 000017EC  2068 000C                movea.l    A0, [A0 + 0xC]
  2428. 000017F0  226C 04BA                movea.l    A1, [A4 + 0x4BA]
  2429. 000017F4  222A 0010                move.l     D1, [A2 + 0x10]
  2430. 000017F8  2008                     move.l     D0, A0
  2431. 000017FA  4A81                     tst.l      D1
  2432. 000017FC  6706                     beq        +0x8 /* 00001804 */
  2433. label000017FE:
  2434. 000017FE  10D9                     move.b     [A0]+, [A1]+
  2435. 00001800  5381                     subq.l     D1, 1
  2436. 00001802  66FA                     bne        -0x4 /* 000017FE */
  2437. label00001804:
  2438. 00001804  2F2A 0320                move.l     -[A7], [A2 + 0x320]
  2439. 00001808  4EBA 437A                jsr        [PC + 0x437A /* 00005B84 */]
  2440. 0000180C  52AB 000E                addq.l     [A3 + 0xE], 1
  2441. 00001810  7000                     moveq.l    D0, 0x00
  2442. 00001812  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  2443. 00001816  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2444. 0000181A  4E75                     rts
  2445. label0000181C:
  2446. 0000181C  3F3C 0001                move.w     -[A7], 0x1
  2447. 00001820  2F0A                     move.l     -[A7], A2
  2448. 00001822  4EBA 175E                jsr        [PC + 0x175E /* 00002F82 */]
  2449. 00001826  286A 0018                movea.l    A4, [A2 + 0x18]
  2450. 0000182A  3F3C 0001                move.w     -[A7], 0x1
  2451. 0000182E  2F0A                     move.l     -[A7], A2
  2452. 00001830  4EBA 1712                jsr        [PC + 0x1712 /* 00002F44 */]
  2453. 00001834  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2454. 00001838  4EBA 4324                jsr        [PC + 0x4324 /* 00005B5E */]
  2455. 0000183C  2A08                     move.l     D5, A0
  2456. 0000183E  3F3C 0001                move.w     -[A7], 0x1
  2457. 00001842  2F0A                     move.l     -[A7], A2
  2458. 00001844  4EBA 16C0                jsr        [PC + 0x16C0 /* 00002F06 */]
  2459. 00001848  2C48                     movea.l    A6, A0
  2460. 0000184A  7062                     moveq.l    D0, 0x62
  2461. 0000184C  C1C3                     muls.w     D0, D3
  2462. 0000184E  DDC0                     add.l      A6, D0
  2463. 00001850  486F 001A                pea.l      [A7 + 0x1A]
  2464. 00001854  486F 0028                pea.l      [A7 + 0x28]
  2465. 00001858  486F 0028                pea.l      [A7 + 0x28]
  2466. 0000185C  2F0C                     move.l     -[A7], A4
  2467. 0000185E  2F05                     move.l     -[A7], D5
  2468. 00001860  2F0E                     move.l     -[A7], A6
  2469. 00001862  2F0B                     move.l     -[A7], A3
  2470. 00001864  2F0A                     move.l     -[A7], A2
  2471. 00001866  4EBA FA48                jsr        [PC - 0x5B8 /* 000012B0 */]
  2472. 0000186A  3600                     move.w     D3, D0
  2473. 0000186C  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2474. 00001870  4EBA 4312                jsr        [PC + 0x4312 /* 00005B84 */]
  2475. 00001874  7A00                     moveq.l    D5, 0x00
  2476. 00001876  4A43                     tst.w      D3
  2477. 00001878  4FEF 003A                lea.l      A7, [A7 + 0x3A]
  2478. 0000187C  663A                     bne        +0x3C /* 000018B8 */
  2479. label0000187E:
  2480. 0000187E  4267                     clr.w      -[A7]
  2481. 00001880  2F0A                     move.l     -[A7], A2
  2482. 00001882  4EBA 1682                jsr        [PC + 0x1682 /* 00002F06 */]
  2483. 00001886  4267                     clr.w      -[A7]
  2484. 00001888  2F0A                     move.l     -[A7], A2
  2485. 0000188A  4EBA 16B8                jsr        [PC + 0x16B8 /* 00002F44 */]
  2486. 0000188E  4267                     clr.w      -[A7]
  2487. 00001890  2F0A                     move.l     -[A7], A2
  2488. 00001892  4EBA 16EE                jsr        [PC + 0x16EE /* 00002F82 */]
  2489. 00001896  4A6F 0016                tst.w      [A7 + 0x16]
  2490. 0000189A  4FEF 0012                lea.l      A7, [A7 + 0x12]
  2491. 0000189E  660C                     bne        +0xE /* 000018AC */
  2492. 000018A0  700D                     moveq.l    D0, 0x0D
  2493. 000018A2  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2494. 000018A6  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2495. 000018AA  4E75                     rts
  2496. label000018AC:
  2497. 000018AC  3004                     move.w     D0, D4
  2498. 000018AE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2499. 000018B2  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2500. 000018B6  4E75                     rts
  2501. label000018B8:
  2502. 000018B8  202F 000A                move.l     D0, [A7 + 0xA]
  2503. 000018BC  7214                     moveq.l    D1, 0x14
  2504. 000018BE  4EAD D8F8                jsr        [A5 - 0x2708]
  2505. 000018C2  D9C0                     add.l      A4, D0
  2506. 000018C4  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  2507. 000018C8  4EAD EC40                jsr        [A5 - 0x13C0]
  2508. 000018CC  2548 0318                move.l     [A2 + 0x318], A0
  2509. 000018D0  4AAA 0318                tst.l      [A2 + 0x318]
  2510. 000018D4  584F                     addq.w     A7, 4
  2511. 000018D6  6604                     bne        +0x6 /* 000018DC */
  2512. 000018D8  7801                     moveq.l    D4, 0x01
  2513. 000018DA  60A2                     bra        -0x5C /* 0000187E */
  2514. label000018DC:
  2515. 000018DC  262E 0022                move.l     D3, [A6 + 0x22]
  2516. 000018E0  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2517. 000018E4  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2518. 000018E8  2F0A                     move.l     -[A7], A2
  2519. 000018EA  4EBA 1808                jsr        [PC + 0x1808 /* 000030F4 */]
  2520. 000018EE  4A40                     tst.w      D0
  2521. 000018F0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2522. 000018F4  6724                     beq        +0x26 /* 0000191A */
  2523. 000018F6  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2524. 000018FA  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2525. 000018FE  2F0A                     move.l     -[A7], A2
  2526. 00001900  4EBA 1808                jsr        [PC + 0x1808 /* 0000310A */]
  2527. 00001904  2600                     move.l     D3, D0
  2528. 00001906  4A83                     tst.l      D3
  2529. 00001908  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2530. 0000190C  670C                     beq        +0xE /* 0000191A */
  2531. 0000190E  2F03                     move.l     -[A7], D3
  2532. 00001910  3F3C 0001                move.w     -[A7], 0x1
  2533. 00001914  4EAD ECE0                jsr        [A5 - 0x1320]
  2534. 00001918  5C4F                     addq.w     A7, 6
  2535. label0000191A:
  2536. 0000191A  262F 000A                move.l     D3, [A7 + 0xA]
  2537. 0000191E  6034                     bra        +0x36 /* 00001954 */
  2538. label00001920:
  2539. 00001920  486F 0012                pea.l      [A7 + 0x12]
  2540. 00001924  2F03                     move.l     -[A7], D3
  2541. 00001926  2F0A                     move.l     -[A7], A2
  2542. 00001928  4EBA ECD2                jsr        [PC - 0x132E /* 000005FC */]
  2543. 0000192C  3800                     move.w     D4, D0
  2544. 0000192E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2545. 00001932  6626                     bne        +0x28 /* 0000195A */
  2546. 00001934  3F3C 0001                move.w     -[A7], 0x1
  2547. 00001938  2F0B                     move.l     -[A7], A3
  2548. 0000193A  2F0C                     move.l     -[A7], A4
  2549. 0000193C  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  2550. 00001940  2F0A                     move.l     -[A7], A2
  2551. 00001942  4EBA 028E                jsr        [PC + 0x28E /* 00001BD2 */]
  2552. 00001946  3800                     move.w     D4, D0
  2553. 00001948  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2554. 0000194C  660C                     bne        +0xE /* 0000195A */
  2555. 0000194E  5283                     addq.l     D3, 1
  2556. 00001950  7014                     moveq.l    D0, 0x14
  2557. 00001952  D9C0                     add.l      A4, D0
  2558. label00001954:
  2559. 00001954  B6AF 000E                cmp.l      D3, [A7 + 0xE]
  2560. 00001958  6FC6                     ble        -0x38 /* 00001920 */
  2561. label0000195A:
  2562. 0000195A  42A7                     clr.l      -[A7]
  2563. 0000195C  4267                     clr.w      -[A7]
  2564. 0000195E  4EAD ECE0                jsr        [A5 - 0x1320]
  2565. 00001962  4267                     clr.w      -[A7]
  2566. 00001964  2F0A                     move.l     -[A7], A2
  2567. 00001966  4EBA 15DC                jsr        [PC + 0x15DC /* 00002F44 */]
  2568. 0000196A  4267                     clr.w      -[A7]
  2569. 0000196C  2F0A                     move.l     -[A7], A2
  2570. 0000196E  4EBA 1596                jsr        [PC + 0x1596 /* 00002F06 */]
  2571. 00001972  4267                     clr.w      -[A7]
  2572. 00001974  2F0A                     move.l     -[A7], A2
  2573. 00001976  4EBA 160A                jsr        [PC + 0x160A /* 00002F82 */]
  2574. 0000197A  0C44 0006                cmpi.w     D4, 0x6
  2575. 0000197E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2576. 00001982  6604                     bne        +0x6 /* 00001988 */
  2577. 00001984  7800                     moveq.l    D4, 0x00
  2578. 00001986  601A                     bra        +0x1C /* 000019A2 */
  2579. label00001988:
  2580. 00001988  4A44                     tst.w      D4
  2581. 0000198A  6616                     bne        +0x18 /* 000019A2 */
  2582. 0000198C  486F 0006                pea.l      [A7 + 0x6]
  2583. 00001990  2F2A 0318                move.l     -[A7], [A2 + 0x318]
  2584. 00001994  2F0B                     move.l     -[A7], A3
  2585. 00001996  2F0A                     move.l     -[A7], A2
  2586. 00001998  4EBA 0712                jsr        [PC + 0x712 /* 000020AC */]
  2587. 0000199C  3800                     move.w     D4, D0
  2588. 0000199E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2589. label000019A2:
  2590. 000019A2  4A6F 0006                tst.w      [A7 + 0x6]
  2591. 000019A6  6620                     bne        +0x22 /* 000019C8 */
  2592. 000019A8  4AAA 0318                tst.l      [A2 + 0x318]
  2593. 000019AC  670A                     beq        +0xC /* 000019B8 */
  2594. 000019AE  2F2A 0318                move.l     -[A7], [A2 + 0x318]
  2595. 000019B2  4EBA 426C                jsr        [PC + 0x426C /* 00005C20 */]
  2596. 000019B6  584F                     addq.w     A7, 4
  2597. label000019B8:
  2598. 000019B8  4AAB 0024                tst.l      [A3 + 0x24]
  2599. 000019BC  670A                     beq        +0xC /* 000019C8 */
  2600. 000019BE  2F2B 0024                move.l     -[A7], [A3 + 0x24]
  2601. 000019C2  4EBA 417E                jsr        [PC + 0x417E /* 00005B42 */]
  2602. 000019C6  584F                     addq.w     A7, 4
  2603. label000019C8:
  2604. 000019C8  42AA 0318                clr.l      [A2 + 0x318]
  2605. 000019CC  4878 0010                push.l     0x10
  2606. 000019D0  42A7                     clr.l      -[A7]
  2607. 000019D2  486B 0020                pea.l      [A3 + 0x20]
  2608. 000019D6  4EAD D94C                jsr        [A5 - 0x26B4]
  2609. 000019DA  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  2610. 000019DE  4EBA 41A4                jsr        [PC + 0x41A4 /* 00005B84 */]
  2611. 000019E2  42AA 0018                clr.l      [A2 + 0x18]
  2612. 000019E6  3004                     move.w     D0, D4
  2613. 000019E8  4FEF 0024                lea.l      A7, [A7 + 0x24]
  2614. 000019EC  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2615. 000019F0  4E75                     rts
  2616. fn000019F2:
  2617. 000019F2  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  2618. 000019F6  554F                     subq.w     A7, 2
  2619. 000019F8  246F 001E                movea.l    A2, [A7 + 0x1E]
  2620. 000019FC  266F 0022                movea.l    A3, [A7 + 0x22]
  2621. 00001A00  2053                     movea.l    A0, [A3]
  2622. 00001A02  2850                     movea.l    A4, [A0]
  2623. 00001A04  2C4A                     movea.l    A6, A2
  2624. 00001A06  4DEE 002C                lea.l      A6, [A6 + 0x2C]
  2625. 00001A0A  7600                     moveq.l    D3, 0x00
  2626. 00001A0C  1814                     move.b     D4, [A4]
  2627. 00001A0E  4884                     ext.w      D4
  2628. 00001A10  182C 0001                move.b     D4, [A4 + 0x1]
  2629. 00001A14  4884                     ext.w      D4
  2630. 00001A16  9DCE                     sub.l      A6, A6
  2631. 00001A18  4AAA 0014                tst.l      [A2 + 0x14]
  2632. 00001A1C  660A                     bne        +0xC /* 00001A28 */
  2633. 00001A1E  7000                     moveq.l    D0, 0x00
  2634. 00001A20  544F                     addq.w     A7, 2
  2635. 00001A22  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2636. 00001A26  4E75                     rts
  2637. label00001A28:
  2638. 00001A28  2F0C                     move.l     -[A7], A4
  2639. 00001A2A  3F04                     move.w     -[A7], D4
  2640. 00001A2C  2F0A                     move.l     -[A7], A2
  2641. 00001A2E  4EBA 165C                jsr        [PC + 0x165C /* 0000308C */]
  2642. 00001A32  3740 001A                move.w     [A3 + 0x1A], D0
  2643. 00001A36  486F 000A                pea.l      [A7 + 0xA]
  2644. 00001A3A  2F0B                     move.l     -[A7], A3
  2645. 00001A3C  2F0A                     move.l     -[A7], A2
  2646. 00001A3E  4EBA 03CA                jsr        [PC + 0x3CA /* 00001E0A */]
  2647. 00001A42  3800                     move.w     D4, D0
  2648. 00001A44  0C44 0001                cmpi.w     D4, 0x1
  2649. 00001A48  4FEF 0016                lea.l      A7, [A7 + 0x16]
  2650. 00001A4C  661E                     bne        +0x20 /* 00001A6C */
  2651. 00001A4E  41EB 0020                lea.l      A0, [A3 + 0x20]
  2652. 00001A52  43EA 0330                lea.l      A1, [A2 + 0x330]
  2653. 00001A56  22D8                     move.l     [A1]+, [A0]+
  2654. 00001A58  22D8                     move.l     [A1]+, [A0]+
  2655. 00001A5A  22D8                     move.l     [A1]+, [A0]+
  2656. 00001A5C  22D8                     move.l     [A1]+, [A0]+
  2657. 00001A5E  2F0B                     move.l     -[A7], A3
  2658. 00001A60  2F0A                     move.l     -[A7], A2
  2659. 00001A62  4EBA F3EE                jsr        [PC - 0xC12 /* 00000E52 */]
  2660. 00001A66  3600                     move.w     D3, D0
  2661. 00001A68  504F                     addq.w     A7, 8
  2662. 00001A6A  600E                     bra        +0x10 /* 00001A7A */
  2663. label00001A6C:
  2664. 00001A6C  4A44                     tst.w      D4
  2665. 00001A6E  660A                     bne        +0xC /* 00001A7A */
  2666. 00001A70  7000                     moveq.l    D0, 0x00
  2667. 00001A72  544F                     addq.w     A7, 2
  2668. 00001A74  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2669. 00001A78  4E75                     rts
  2670. label00001A7A:
  2671. 00001A7A  0C43 0006                cmpi.w     D3, 0x6
  2672. 00001A7E  6602                     bne        +0x4 /* 00001A82 */
  2673. 00001A80  7600                     moveq.l    D3, 0x00
  2674. label00001A82:
  2675. 00001A82  0C44 0002                cmpi.w     D4, 0x2
  2676. 00001A86  6610                     bne        +0x12 /* 00001A98 */
  2677. 00001A88  4AAA 0334                tst.l      [A2 + 0x334]
  2678. 00001A8C  670A                     beq        +0xC /* 00001A98 */
  2679. 00001A8E  2F2A 0334                move.l     -[A7], [A2 + 0x334]
  2680. 00001A92  4EBA 40AE                jsr        [PC + 0x40AE /* 00005B42 */]
  2681. 00001A96  584F                     addq.w     A7, 4
  2682. label00001A98:
  2683. 00001A98  4878 0010                push.l     0x10
  2684. 00001A9C  42A7                     clr.l      -[A7]
  2685. 00001A9E  486A 0330                pea.l      [A2 + 0x330]
  2686. 00001AA2  4EAD D94C                jsr        [A5 - 0x26B4]
  2687. 00001AA6  4878 0010                push.l     0x10
  2688. 00001AAA  42A7                     clr.l      -[A7]
  2689. 00001AAC  486B 0020                pea.l      [A3 + 0x20]
  2690. 00001AB0  4EAD D94C                jsr        [A5 - 0x26B4]
  2691. 00001AB4  4267                     clr.w      -[A7]
  2692. 00001AB6  2F0A                     move.l     -[A7], A2
  2693. 00001AB8  4EBA 148A                jsr        [PC + 0x148A /* 00002F44 */]
  2694. 00001ABC  4267                     clr.w      -[A7]
  2695. 00001ABE  2F0A                     move.l     -[A7], A2
  2696. 00001AC0  4EBA 1444                jsr        [PC + 0x1444 /* 00002F06 */]
  2697. 00001AC4  4267                     clr.w      -[A7]
  2698. 00001AC6  2F0A                     move.l     -[A7], A2
  2699. 00001AC8  4EBA 14B8                jsr        [PC + 0x14B8 /* 00002F82 */]
  2700. 00001ACC  3003                     move.w     D0, D3
  2701. 00001ACE  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  2702. 00001AD2  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2703. 00001AD6  4E75                     rts
  2704. fn00001AD8:
  2705. 00001AD8  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  2706. 00001ADC  554F                     subq.w     A7, 2
  2707. 00001ADE  246F 0022                movea.l    A2, [A7 + 0x22]
  2708. 00001AE2  266F 0026                movea.l    A3, [A7 + 0x26]
  2709. 00001AE6  284A                     movea.l    A4, A2
  2710. 00001AE8  49EC 002C                lea.l      A4, [A4 + 0x2C]
  2711. 00001AEC  2053                     movea.l    A0, [A3]
  2712. 00001AEE  2850                     movea.l    A4, [A0]
  2713. 00001AF0  2053                     movea.l    A0, [A3]
  2714. 00001AF2  2C68 0004                movea.l    A6, [A0 + 0x4]
  2715. 00001AF6  7600                     moveq.l    D3, 0x00
  2716. 00001AF8  1814                     move.b     D4, [A4]
  2717. 00001AFA  4884                     ext.w      D4
  2718. 00001AFC  182C 0001                move.b     D4, [A4 + 0x1]
  2719. 00001B00  4884                     ext.w      D4
  2720. 00001B02  7A00                     moveq.l    D5, 0x00
  2721. 00001B04  4AAA 0014                tst.l      [A2 + 0x14]
  2722. 00001B08  660A                     bne        +0xC /* 00001B14 */
  2723. 00001B0A  7000                     moveq.l    D0, 0x00
  2724. 00001B0C  544F                     addq.w     A7, 2
  2725. 00001B0E  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2726. 00001B12  4E75                     rts
  2727. label00001B14:
  2728. 00001B14  2F0C                     move.l     -[A7], A4
  2729. 00001B16  3F04                     move.w     -[A7], D4
  2730. 00001B18  2F0A                     move.l     -[A7], A2
  2731. 00001B1A  4EBA 1570                jsr        [PC + 0x1570 /* 0000308C */]
  2732. 00001B1E  3740 001A                move.w     [A3 + 0x1A], D0
  2733. 00001B22  2F0E                     move.l     -[A7], A6
  2734. 00001B24  3F04                     move.w     -[A7], D4
  2735. 00001B26  2F0A                     move.l     -[A7], A2
  2736. 00001B28  4EBA 1562                jsr        [PC + 0x1562 /* 0000308C */]
  2737. 00001B2C  3740 001C                move.w     [A3 + 0x1C], D0
  2738. 00001B30  486F 0014                pea.l      [A7 + 0x14]
  2739. 00001B34  2F0B                     move.l     -[A7], A3
  2740. 00001B36  2F0A                     move.l     -[A7], A2
  2741. 00001B38  4EBA 02D0                jsr        [PC + 0x2D0 /* 00001E0A */]
  2742. 00001B3C  3800                     move.w     D4, D0
  2743. 00001B3E  0C44 0001                cmpi.w     D4, 0x1
  2744. 00001B42  4FEF 0020                lea.l      A7, [A7 + 0x20]
  2745. 00001B46  661E                     bne        +0x20 /* 00001B66 */
  2746. 00001B48  41EB 0020                lea.l      A0, [A3 + 0x20]
  2747. 00001B4C  43EA 0330                lea.l      A1, [A2 + 0x330]
  2748. 00001B50  22D8                     move.l     [A1]+, [A0]+
  2749. 00001B52  22D8                     move.l     [A1]+, [A0]+
  2750. 00001B54  22D8                     move.l     [A1]+, [A0]+
  2751. 00001B56  22D8                     move.l     [A1]+, [A0]+
  2752. 00001B58  2F0B                     move.l     -[A7], A3
  2753. 00001B5A  2F0A                     move.l     -[A7], A2
  2754. 00001B5C  4EBA F2F4                jsr        [PC - 0xD0C /* 00000E52 */]
  2755. 00001B60  3600                     move.w     D3, D0
  2756. 00001B62  504F                     addq.w     A7, 8
  2757. 00001B64  600E                     bra        +0x10 /* 00001B74 */
  2758. label00001B66:
  2759. 00001B66  4A44                     tst.w      D4
  2760. 00001B68  660A                     bne        +0xC /* 00001B74 */
  2761. 00001B6A  7000                     moveq.l    D0, 0x00
  2762. 00001B6C  544F                     addq.w     A7, 2
  2763. 00001B6E  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2764. 00001B72  4E75                     rts
  2765. label00001B74:
  2766. 00001B74  0C43 0006                cmpi.w     D3, 0x6
  2767. 00001B78  6602                     bne        +0x4 /* 00001B7C */
  2768. 00001B7A  7600                     moveq.l    D3, 0x00
  2769. label00001B7C:
  2770. 00001B7C  0C44 0002                cmpi.w     D4, 0x2
  2771. 00001B80  6610                     bne        +0x12 /* 00001B92 */
  2772. 00001B82  4AAA 0334                tst.l      [A2 + 0x334]
  2773. 00001B86  670A                     beq        +0xC /* 00001B92 */
  2774. 00001B88  2F2A 0334                move.l     -[A7], [A2 + 0x334]
  2775. 00001B8C  4EBA 3FB4                jsr        [PC + 0x3FB4 /* 00005B42 */]
  2776. 00001B90  584F                     addq.w     A7, 4
  2777. label00001B92:
  2778. 00001B92  4878 0010                push.l     0x10
  2779. 00001B96  42A7                     clr.l      -[A7]
  2780. 00001B98  486A 0330                pea.l      [A2 + 0x330]
  2781. 00001B9C  4EAD D94C                jsr        [A5 - 0x26B4]
  2782. 00001BA0  4878 0010                push.l     0x10
  2783. 00001BA4  42A7                     clr.l      -[A7]
  2784. 00001BA6  486B 0020                pea.l      [A3 + 0x20]
  2785. 00001BAA  4EAD D94C                jsr        [A5 - 0x26B4]
  2786. 00001BAE  4267                     clr.w      -[A7]
  2787. 00001BB0  2F0A                     move.l     -[A7], A2
  2788. 00001BB2  4EBA 1390                jsr        [PC + 0x1390 /* 00002F44 */]
  2789. 00001BB6  4267                     clr.w      -[A7]
  2790. 00001BB8  2F0A                     move.l     -[A7], A2
  2791. 00001BBA  4EBA 134A                jsr        [PC + 0x134A /* 00002F06 */]
  2792. 00001BBE  4267                     clr.w      -[A7]
  2793. 00001BC0  2F0A                     move.l     -[A7], A2
  2794. 00001BC2  4EBA 13BE                jsr        [PC + 0x13BE /* 00002F82 */]
  2795. 00001BC6  3003                     move.w     D0, D3
  2796. 00001BC8  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  2797. 00001BCC  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  2798. 00001BD0  4E75                     rts
  2799. fn00001BD2:
  2800. 00001BD2  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  2801. 00001BD6  4FEF FFE6                lea.l      A7, [A7 - 0x1A]
  2802. 00001BDA  286F 0042                movea.l    A4, [A7 + 0x42]
  2803. 00001BDE  266F 004C                movea.l    A3, [A7 + 0x4C]
  2804. 00001BE2  95CA                     sub.l      A2, A2
  2805. 00001BE4  7800                     moveq.l    D4, 0x00
  2806. 00001BE6  2053                     movea.l    A0, [A3]
  2807. 00001BE8  2F50 0016                move.l     [A7 + 0x16], [A0]
  2808. 00001BEC  2053                     movea.l    A0, [A3]
  2809. 00001BEE  2F68 0004 0004           move.l     [A7 + 0x4], [A0 + 0x4]
  2810. 00001BF4  2F6D A438 0010           move.l     [A7 + 0x10], [A5 - 0x5BC8]
  2811. 00001BFA  426F 0014                clr.w      [A7 + 0x14]
  2812. 00001BFE  4297                     clr.l      [A7]
  2813. 00001C00  42AF 000C                clr.l      [A7 + 0xC]
  2814. 00001C04  42AF 0008                clr.l      [A7 + 0x8]
  2815. 00001C08  9DCE                     sub.l      A6, A6
  2816. 00001C0A  700C                     moveq.l    D0, 0x0C
  2817. 00001C0C  C1EF 0046                muls.w     D0, [A7 + 0x46]
  2818. 00001C10  204C                     movea.l    A0, A4
  2819. 00001C12  D1C0                     add.l      A0, D0
  2820. 00001C14  41E8 0224                lea.l      A0, [A0 + 0x224]
  2821. 00001C18  2E88                     move.l     [A7], A0
  2822. 00001C1A  2453                     movea.l    A2, [A3]
  2823. 00001C1C  2452                     movea.l    A2, [A2]
  2824. 00001C1E  102A 0001                move.b     D0, [A2 + 0x1]
  2825. 00001C22  4880                     ext.w      D0
  2826. 00001C24  C1FC 0062                muls.w     D0, 0x62 /* 'b' */
  2827. 00001C28  246C 0344                movea.l    A2, [A4 + 0x344]
  2828. 00001C2C  D5C0                     add.l      A2, D0
  2829. 00001C2E  2C6A 0022                movea.l    A6, [A2 + 0x22]
  2830. 00001C32  2F10                     move.l     -[A7], [A0]
  2831. 00001C34  4EBA 3F28                jsr        [PC + 0x3F28 /* 00005B5E */]
  2832. 00001C38  2448                     movea.l    A2, A0
  2833. 00001C3A  2F52 0014                move.l     [A7 + 0x14], [A2]
  2834. 00001C3E  588A                     addq.l     A2, 4
  2835. 00001C40  7E00                     moveq.l    D7, 0x00
  2836. 00001C42  584F                     addq.w     A7, 4
  2837. 00001C44  6000 00F6                bra        +0xF8 /* 00001D3C */
  2838. label00001C48:
  2839. 00001C48  280A                     move.l     D4, A2
  2840. 00001C4A  2C12                     move.l     D6, [A2]
  2841. 00001C4C  588A                     addq.l     A2, 4
  2842. 00001C4E  1A1A                     move.b     D5, [A2]+
  2843. 00001C50  4A6B 0030                tst.w      [A3 + 0x30]
  2844. 00001C54  6746                     beq        +0x48 /* 00001C9C */
  2845. 00001C56  2F0A                     move.l     -[A7], A2
  2846. 00001C58  206F 001A                movea.l    A0, [A7 + 0x1A]
  2847. 00001C5C  4868 0002                pea.l      [A0 + 0x2]
  2848. 00001C60  4E96                     jsr        [A6]
  2849. 00001C62  1600                     move.b     D3, D0
  2850. 00001C64  1003                     move.b     D0, D3
  2851. 00001C66  4880                     ext.w      D0
  2852. 00001C68  48C0                     ext.l      D0
  2853. 00001C6A  4A80                     tst.l      D0
  2854. 00001C6C  504F                     addq.w     A7, 8
  2855. 00001C6E  6C1E                     bge        +0x20 /* 00001C8E */
  2856. 00001C70  2F0A                     move.l     -[A7], A2
  2857. 00001C72  206F 0008                movea.l    A0, [A7 + 0x8]
  2858. 00001C76  4868 0002                pea.l      [A0 + 0x2]
  2859. 00001C7A  4E96                     jsr        [A6]
  2860. 00001C7C  1600                     move.b     D3, D0
  2861. 00001C7E  1003                     move.b     D0, D3
  2862. 00001C80  4880                     ext.w      D0
  2863. 00001C82  48C0                     ext.l      D0
  2864. 00001C84  4A80                     tst.l      D0
  2865. 00001C86  504F                     addq.w     A7, 8
  2866. 00001C88  6C38                     bge        +0x3A /* 00001CC2 */
  2867. 00001C8A  6000 00B8                bra        +0xBA /* 00001D44 */
  2868. label00001C8E:
  2869. 00001C8E  1003                     move.b     D0, D3
  2870. 00001C90  4880                     ext.w      D0
  2871. 00001C92  48C0                     ext.l      D0
  2872. 00001C94  4A80                     tst.l      D0
  2873. 00001C96  6F2A                     ble        +0x2C /* 00001CC2 */
  2874. 00001C98  6000 009C                bra        +0x9E /* 00001D36 */
  2875. label00001C9C:
  2876. 00001C9C  2F0A                     move.l     -[A7], A2
  2877. 00001C9E  206F 001A                movea.l    A0, [A7 + 0x1A]
  2878. 00001CA2  4868 0002                pea.l      [A0 + 0x2]
  2879. 00001CA6  4E96                     jsr        [A6]
  2880. 00001CA8  1600                     move.b     D3, D0
  2881. 00001CAA  1003                     move.b     D0, D3
  2882. 00001CAC  4880                     ext.w      D0
  2883. 00001CAE  48C0                     ext.l      D0
  2884. 00001CB0  4A80                     tst.l      D0
  2885. 00001CB2  504F                     addq.w     A7, 8
  2886. 00001CB4  6D00 008E                blt        +0x90 /* 00001D44 */
  2887. 00001CB8  1003                     move.b     D0, D3
  2888. 00001CBA  4880                     ext.w      D0
  2889. 00001CBC  48C0                     ext.l      D0
  2890. 00001CBE  4A80                     tst.l      D0
  2891. 00001CC0  6E74                     bgt        +0x76 /* 00001D36 */
  2892. label00001CC2:
  2893. 00001CC2  2444                     movea.l    A2, D4
  2894. 00001CC4  588A                     addq.l     A2, 4
  2895. 00001CC6  528A                     addq.l     A2, 1
  2896. 00001CC8  1005                     move.b     D0, D5
  2897. 00001CCA  4880                     ext.w      D0
  2898. 00001CCC  48C0                     ext.l      D0
  2899. 00001CCE  D5C0                     add.l      A2, D0
  2900. 00001CD0  4A6F 0050                tst.w      [A7 + 0x50]
  2901. 00001CD4  6718                     beq        +0x1A /* 00001CEE */
  2902. 00001CD6  486F 0008                pea.l      [A7 + 0x8]
  2903. 00001CDA  2F12                     move.l     -[A7], [A2]
  2904. 00001CDC  2F0B                     move.l     -[A7], A3
  2905. 00001CDE  2F0C                     move.l     -[A7], A4
  2906. 00001CE0  4EBA 068C                jsr        [PC + 0x68C /* 0000236E */]
  2907. 00001CE4  3F40 0024                move.w     [A7 + 0x24], D0
  2908. 00001CE8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2909. 00001CEC  6656                     bne        +0x58 /* 00001D44 */
  2910. label00001CEE:
  2911. 00001CEE  588A                     addq.l     A2, 4
  2912. 00001CF0  1005                     move.b     D0, D5
  2913. 00001CF2  4880                     ext.w      D0
  2914. 00001CF4  48C0                     ext.l      D0
  2915. 00001CF6  2606                     move.l     D3, D6
  2916. 00001CF8  5B83                     subq.l     D3, 5
  2917. 00001CFA  9680                     sub.l      D3, D0
  2918. 00001CFC  260A                     move.l     D3, A2
  2919. 00001CFE  2F2C 0010                move.l     -[A7], [A4 + 0x10]
  2920. 00001D02  2F2C 0318                move.l     -[A7], [A4 + 0x318]
  2921. 00001D06  2F03                     move.l     -[A7], D3
  2922. 00001D08  4EAD EC58                jsr        [A5 - 0x13A8]
  2923. 00001D0C  2F2C 0010                move.l     -[A7], [A4 + 0x10]
  2924. 00001D10  2F2C 0318                move.l     -[A7], [A4 + 0x318]
  2925. 00001D14  2053                     movea.l    A0, [A3]
  2926. 00001D16  2F28 000C                move.l     -[A7], [A0 + 0xC]
  2927. 00001D1A  4EAD EC60                jsr        [A5 - 0x13A0]
  2928. 00001D1E  52AB 000E                addq.l     [A3 + 0xE], 1
  2929. 00001D22  52AF 0024                addq.l     [A7 + 0x24], 1
  2930. 00001D26  4A6B 0030                tst.w      [A3 + 0x30]
  2931. 00001D2A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  2932. 00001D2E  6606                     bne        +0x8 /* 00001D36 */
  2933. 00001D30  4A6B 001A                tst.w      [A3 + 0x1A]
  2934. 00001D34  670E                     beq        +0x10 /* 00001D44 */
  2935. label00001D36:
  2936. 00001D36  5287                     addq.l     D7, 1
  2937. 00001D38  2444                     movea.l    A2, D4
  2938. 00001D3A  D5C6                     add.l      A2, D6
  2939. label00001D3C:
  2940. 00001D3C  BEAF 0010                cmp.l      D7, [A7 + 0x10]
  2941. 00001D40  6D00 FF06                blt        -0xF8 /* 00001C48 */
  2942. label00001D44:
  2943. 00001D44  4AAF 0008                tst.l      [A7 + 0x8]
  2944. 00001D48  670A                     beq        +0xC /* 00001D54 */
  2945. 00001D4A  2F2B 0024                move.l     -[A7], [A3 + 0x24]
  2946. 00001D4E  4EBA 3E34                jsr        [PC + 0x3E34 /* 00005B84 */]
  2947. 00001D52  584F                     addq.w     A7, 4
  2948. label00001D54:
  2949. 00001D54  4A6F 0014                tst.w      [A7 + 0x14]
  2950. 00001D58  6722                     beq        +0x24 /* 00001D7C */
  2951. 00001D5A  4AAB 0024                tst.l      [A3 + 0x24]
  2952. 00001D5E  6728                     beq        +0x2A /* 00001D88 */
  2953. 00001D60  2F2B 0024                move.l     -[A7], [A3 + 0x24]
  2954. 00001D64  4EBA 3DDC                jsr        [PC + 0x3DDC /* 00005B42 */]
  2955. 00001D68  4878 0010                push.l     0x10
  2956. 00001D6C  42A7                     clr.l      -[A7]
  2957. 00001D6E  486B 0020                pea.l      [A3 + 0x20]
  2958. 00001D72  4EAD D94C                jsr        [A5 - 0x26B4]
  2959. 00001D76  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2960. 00001D7A  600C                     bra        +0xE /* 00001D88 */
  2961. label00001D7C:
  2962. 00001D7C  4AAF 000C                tst.l      [A7 + 0xC]
  2963. 00001D80  6606                     bne        +0x8 /* 00001D88 */
  2964. 00001D82  3F7C 0006 0014           move.w     [A7 + 0x14], 0x6
  2965. label00001D88:
  2966. 00001D88  2057                     movea.l    A0, [A7]
  2967. 00001D8A  2F10                     move.l     -[A7], [A0]
  2968. 00001D8C  4EBA 3DF6                jsr        [PC + 0x3DF6 /* 00005B84 */]
  2969. 00001D90  302F 0018                move.w     D0, [A7 + 0x18]
  2970. 00001D94  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  2971. 00001D98  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  2972. 00001D9C  4E75                     rts
  2973. fn00001D9E:
  2974. 00001D9E  48E7 1030                movem.l    -[A7], D3,A2,A3
  2975. 00001DA2  266F 0010                movea.l    A3, [A7 + 0x10]
  2976. 00001DA6  4AAB 0320                tst.l      [A3 + 0x320]
  2977. 00001DAA  6746                     beq        +0x48 /* 00001DF2 */
  2978. 00001DAC  2F2B 0320                move.l     -[A7], [A3 + 0x320]
  2979. 00001DB0  4EBA 3DAC                jsr        [PC + 0x3DAC /* 00005B5E */]
  2980. 00001DB4  2448                     movea.l    A2, A0
  2981. 00001DB6  7600                     moveq.l    D3, 0x00
  2982. 00001DB8  584F                     addq.w     A7, 4
  2983. 00001DBA  601A                     bra        +0x1C /* 00001DD6 */
  2984. label00001DBC:
  2985. 00001DBC  4AAA 04BA                tst.l      [A2 + 0x4BA]
  2986. 00001DC0  670E                     beq        +0x10 /* 00001DD0 */
  2987. 00001DC2  2F2A 04BA                move.l     -[A7], [A2 + 0x4BA]
  2988. 00001DC6  4EBA 3E58                jsr        [PC + 0x3E58 /* 00005C20 */]
  2989. 00001DCA  42AA 04BA                clr.l      [A2 + 0x4BA]
  2990. 00001DCE  584F                     addq.w     A7, 4
  2991. label00001DD0:
  2992. 00001DD0  5243                     addq.w     D3, 1
  2993. 00001DD2  45EA 04D2                lea.l      A2, [A2 + 0x4D2]
  2994. label00001DD6:
  2995. 00001DD6  3003                     move.w     D0, D3
  2996. 00001DD8  48C0                     ext.l      D0
  2997. 00001DDA  B0AB 0324                cmp.l      D0, [A3 + 0x324]
  2998. 00001DDE  6DDC                     blt        -0x22 /* 00001DBC */
  2999. 00001DE0  2F2B 0320                move.l     -[A7], [A3 + 0x320]
  3000. 00001DE4  4EBA 3D9E                jsr        [PC + 0x3D9E /* 00005B84 */]
  3001. 00001DE8  2F2B 0320                move.l     -[A7], [A3 + 0x320]
  3002. 00001DEC  4EBA 3D54                jsr        [PC + 0x3D54 /* 00005B42 */]
  3003. 00001DF0  504F                     addq.w     A7, 8
  3004. label00001DF2:
  3005. 00001DF2  4878 0010                push.l     0x10
  3006. 00001DF6  42A7                     clr.l      -[A7]
  3007. 00001DF8  486B 031C                pea.l      [A3 + 0x31C]
  3008. 00001DFC  4EAD D94C                jsr        [A5 - 0x26B4]
  3009. 00001E00  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3010. 00001E04  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3011. 00001E08  4E75                     rts
  3012. fn00001E0A:
  3013. 00001E0A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3014. 00001E0E  286F 0028                movea.l    A4, [A7 + 0x28]
  3015. 00001E12  266F 002C                movea.l    A3, [A7 + 0x2C]
  3016. 00001E16  2C2F 0030                move.l     D6, [A7 + 0x30]
  3017. 00001E1A  7A00                     moveq.l    D5, 0x00
  3018. 00001E1C  2046                     movea.l    A0, D6
  3019. 00001E1E  30BC FFFF                move.w     [A0], 0xFFFF
  3020. 00001E22  4AAC 0320                tst.l      [A4 + 0x320]
  3021. 00001E26  6700 0156                beq        +0x158 /* 00001F7E */
  3022. 00001E2A  7E00                     moveq.l    D7, 0x00
  3023. 00001E2C  2F2C 0320                move.l     -[A7], [A4 + 0x320]
  3024. 00001E30  4EBA 3D2C                jsr        [PC + 0x3D2C /* 00005B5E */]
  3025. 00001E34  2448                     movea.l    A2, A0
  3026. 00001E36  2C6C 0344                movea.l    A6, [A4 + 0x344]
  3027. 00001E3A  200E                     move.l     D0, A6
  3028. 00001E3C  584F                     addq.w     A7, 4
  3029. 00001E3E  660E                     bne        +0x10 /* 00001E4E */
  3030. 00001E40  3F3C 0001                move.w     -[A7], 0x1
  3031. 00001E44  2F0C                     move.l     -[A7], A4
  3032. 00001E46  4EBA 10BE                jsr        [PC + 0x10BE /* 00002F06 */]
  3033. 00001E4A  7E01                     moveq.l    D7, 0x01
  3034. 00001E4C  5C4F                     addq.w     A7, 6
  3035. label00001E4E:
  3036. 00001E4E  7800                     moveq.l    D4, 0x00
  3037. 00001E50  6000 0108                bra        +0x10A /* 00001F5A */
  3038. label00001E54:
  3039. 00001E54  2053                     movea.l    A0, [A3]
  3040. 00001E56  2050                     movea.l    A0, [A0]
  3041. 00001E58  1012                     move.b     D0, [A2]
  3042. 00001E5A  B010                     cmp.b      D0, [A0]
  3043. 00001E5C  6600 00F6                bne        +0xF8 /* 00001F54 */
  3044. 00001E60  2053                     movea.l    A0, [A3]
  3045. 00001E62  2050                     movea.l    A0, [A0]
  3046. 00001E64  102A 0001                move.b     D0, [A2 + 0x1]
  3047. 00001E68  B028 0001                cmp.b      D0, [A0 + 0x1]
  3048. 00001E6C  6600 00E6                bne        +0xE8 /* 00001F54 */
  3049. 00001E70  102A 0001                move.b     D0, [A2 + 0x1]
  3050. 00001E74  4880                     ext.w      D0
  3051. 00001E76  C1FC 0062                muls.w     D0, 0x62 /* 'b' */
  3052. 00001E7A  2C6C 0344                movea.l    A6, [A4 + 0x344]
  3053. 00001E7E  DDC0                     add.l      A6, D0
  3054. 00001E80  2053                     movea.l    A0, [A3]
  3055. 00001E82  302A 0258                move.w     D0, [A2 + 0x258]
  3056. 00001E86  B068 0008                cmp.w      D0, [A0 + 0x8]
  3057. 00001E8A  6D08                     blt        +0xA /* 00001E94 */
  3058. 00001E8C  2053                     movea.l    A0, [A3]
  3059. 00001E8E  3028 0008                move.w     D0, [A0 + 0x8]
  3060. 00001E92  6004                     bra        +0x6 /* 00001E98 */
  3061. label00001E94:
  3062. 00001E94  302A 0258                move.w     D0, [A2 + 0x258]
  3063. label00001E98:
  3064. 00001E98  3600                     move.w     D3, D0
  3065. 00001E9A  3043                     movea.w    A0, D3
  3066. 00001E9C  2F08                     move.l     -[A7], A0
  3067. 00001E9E  2053                     movea.l    A0, [A3]
  3068. 00001EA0  2050                     movea.l    A0, [A0]
  3069. 00001EA2  4868 0002                pea.l      [A0 + 0x2]
  3070. 00001EA6  486A 0002                pea.l      [A2 + 0x2]
  3071. 00001EAA  4EAD D946                jsr        [A5 - 0x26BA]
  3072. 00001EAE  4A80                     tst.l      D0
  3073. 00001EB0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3074. 00001EB4  6600 009E                bne        +0xA0 /* 00001F54 */
  3075. 00001EB8  4A6B 0030                tst.w      [A3 + 0x30]
  3076. 00001EBC  6738                     beq        +0x3A /* 00001EF6 */
  3077. 00001EBE  2053                     movea.l    A0, [A3]
  3078. 00001EC0  302A 0258                move.w     D0, [A2 + 0x258]
  3079. 00001EC4  B068 0008                cmp.w      D0, [A0 + 0x8]
  3080. 00001EC8  6D08                     blt        +0xA /* 00001ED2 */
  3081. 00001ECA  2053                     movea.l    A0, [A3]
  3082. 00001ECC  3028 0008                move.w     D0, [A0 + 0x8]
  3083. 00001ED0  6004                     bra        +0x6 /* 00001ED6 */
  3084. label00001ED2:
  3085. 00001ED2  302A 0258                move.w     D0, [A2 + 0x258]
  3086. label00001ED6:
  3087. 00001ED6  3600                     move.w     D3, D0
  3088. 00001ED8  3043                     movea.w    A0, D3
  3089. 00001EDA  2F08                     move.l     -[A7], A0
  3090. 00001EDC  2053                     movea.l    A0, [A3]
  3091. 00001EDE  2068 0004                movea.l    A0, [A0 + 0x4]
  3092. 00001EE2  4868 0002                pea.l      [A0 + 0x2]
  3093. 00001EE6  486A 025C                pea.l      [A2 + 0x25C]
  3094. 00001EEA  4EAD D946                jsr        [A5 - 0x26BA]
  3095. 00001EEE  4A80                     tst.l      D0
  3096. 00001EF0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3097. 00001EF4  665E                     bne        +0x60 /* 00001F54 */
  3098. label00001EF6:
  3099. 00001EF6  202B 000A                move.l     D0, [A3 + 0xA]
  3100. 00001EFA  7208                     moveq.l    D1, 0x08
  3101. 00001EFC  4EAD D910                jsr        [A5 - 0x26F0]
  3102. 00001F00  7207                     moveq.l    D1, 0x07
  3103. 00001F02  9280                     sub.l      D1, D0
  3104. 00001F04  7001                     moveq.l    D0, 0x01
  3105. 00001F06  E3A8                     lsl        D0, D1
  3106. 00001F08  222B 000A                move.l     D1, [A3 + 0xA]
  3107. 00001F0C  E481                     asr        D1, 2
  3108. 00001F0E  E089                     lsr        D1, 8
  3109. 00001F10  E089                     lsr        D1, 8
  3110. 00001F12  E089                     lsr        D1, 8
  3111. 00001F14  EA89                     lsr        D1, 5
  3112. 00001F16  D2AB 000A                add.l      D1, [A3 + 0xA]
  3113. 00001F1A  E681                     asr        D1, 3
  3114. 00001F1C  206A 04BA                movea.l    A0, [A2 + 0x4BA]
  3115. 00001F20  1230 1800                move.b     D1, [A0 + D1]
  3116. 00001F24  4881                     ext.w      D1
  3117. 00001F26  48C1                     ext.l      D1
  3118. 00001F28  C280                     and.l      D1, D0
  3119. 00001F2A  6724                     beq        +0x26 /* 00001F50 */
  3120. 00001F2C  256C 032C 04CE           move.l     [A2 + 0x4CE], [A4 + 0x32C]
  3121. 00001F32  2046                     movea.l    A0, D6
  3122. 00001F34  3084                     move.w     [A0], D4
  3123. 00001F36  41EA 04BE                lea.l      A0, [A2 + 0x4BE]
  3124. 00001F3A  43EB 0020                lea.l      A1, [A3 + 0x20]
  3125. 00001F3E  22D8                     move.l     [A1]+, [A0]+
  3126. 00001F40  22D8                     move.l     [A1]+, [A0]+
  3127. 00001F42  22D8                     move.l     [A1]+, [A0]+
  3128. 00001F44  22D8                     move.l     [A1]+, [A0]+
  3129. 00001F46  376A 04B6 001A           move.w     [A3 + 0x1A], [A2 + 0x4B6]
  3130. 00001F4C  7A01                     moveq.l    D5, 0x01
  3131. 00001F4E  6016                     bra        +0x18 /* 00001F66 */
  3132. label00001F50:
  3133. 00001F50  7A00                     moveq.l    D5, 0x00
  3134. 00001F52  6012                     bra        +0x14 /* 00001F66 */
  3135. label00001F54:
  3136. 00001F54  5244                     addq.w     D4, 1
  3137. 00001F56  45EA 04D2                lea.l      A2, [A2 + 0x4D2]
  3138. label00001F5A:
  3139. 00001F5A  3004                     move.w     D0, D4
  3140. 00001F5C  48C0                     ext.l      D0
  3141. 00001F5E  B0AC 0328                cmp.l      D0, [A4 + 0x328]
  3142. 00001F62  6D00 FEF0                blt        -0x10E /* 00001E54 */
  3143. label00001F66:
  3144. 00001F66  4A47                     tst.w      D7
  3145. 00001F68  670A                     beq        +0xC /* 00001F74 */
  3146. 00001F6A  4267                     clr.w      -[A7]
  3147. 00001F6C  2F0C                     move.l     -[A7], A4
  3148. 00001F6E  4EBA 0F96                jsr        [PC + 0xF96 /* 00002F06 */]
  3149. 00001F72  5C4F                     addq.w     A7, 6
  3150. label00001F74:
  3151. 00001F74  2F2C 0320                move.l     -[A7], [A4 + 0x320]
  3152. 00001F78  4EBA 3C0A                jsr        [PC + 0x3C0A /* 00005B84 */]
  3153. 00001F7C  584F                     addq.w     A7, 4
  3154. label00001F7E:
  3155. 00001F7E  3005                     move.w     D0, D5
  3156. 00001F80  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3157. 00001F84  4E75                     rts
  3158. fn00001F86:
  3159. 00001F86  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3160. 00001F8A  286F 0028                movea.l    A4, [A7 + 0x28]
  3161. 00001F8E  266F 002C                movea.l    A3, [A7 + 0x2C]
  3162. 00001F92  2C2F 0030                move.l     D6, [A7 + 0x30]
  3163. 00001F96  7A00                     moveq.l    D5, 0x00
  3164. 00001F98  7600                     moveq.l    D3, 0x00
  3165. 00001F9A  2046                     movea.l    A0, D6
  3166. 00001F9C  30BC FFFF                move.w     [A0], 0xFFFF
  3167. 00001FA0  4AAC 0320                tst.l      [A4 + 0x320]
  3168. 00001FA4  6700 00FE                beq        +0x100 /* 000020A4 */
  3169. 00001FA8  7E00                     moveq.l    D7, 0x00
  3170. 00001FAA  2F2C 0320                move.l     -[A7], [A4 + 0x320]
  3171. 00001FAE  4EBA 3BAE                jsr        [PC + 0x3BAE /* 00005B5E */]
  3172. 00001FB2  2448                     movea.l    A2, A0
  3173. 00001FB4  2C6C 0344                movea.l    A6, [A4 + 0x344]
  3174. 00001FB8  200E                     move.l     D0, A6
  3175. 00001FBA  584F                     addq.w     A7, 4
  3176. 00001FBC  660E                     bne        +0x10 /* 00001FCC */
  3177. 00001FBE  3F3C 0001                move.w     -[A7], 0x1
  3178. 00001FC2  2F0C                     move.l     -[A7], A4
  3179. 00001FC4  4EBA 0F40                jsr        [PC + 0xF40 /* 00002F06 */]
  3180. 00001FC8  7E01                     moveq.l    D7, 0x01
  3181. 00001FCA  5C4F                     addq.w     A7, 6
  3182. label00001FCC:
  3183. 00001FCC  7800                     moveq.l    D4, 0x00
  3184. 00001FCE  6000 00B0                bra        +0xB2 /* 00002080 */
  3185. label00001FD2:
  3186. 00001FD2  2053                     movea.l    A0, [A3]
  3187. 00001FD4  2050                     movea.l    A0, [A0]
  3188. 00001FD6  1012                     move.b     D0, [A2]
  3189. 00001FD8  B010                     cmp.b      D0, [A0]
  3190. 00001FDA  6600 009E                bne        +0xA0 /* 0000207A */
  3191. 00001FDE  2053                     movea.l    A0, [A3]
  3192. 00001FE0  2050                     movea.l    A0, [A0]
  3193. 00001FE2  102A 0001                move.b     D0, [A2 + 0x1]
  3194. 00001FE6  B028 0001                cmp.b      D0, [A0 + 0x1]
  3195. 00001FEA  6600 008E                bne        +0x90 /* 0000207A */
  3196. 00001FEE  102A 0001                move.b     D0, [A2 + 0x1]
  3197. 00001FF2  4880                     ext.w      D0
  3198. 00001FF4  C1FC 0062                muls.w     D0, 0x62 /* 'b' */
  3199. 00001FF8  2C6C 0344                movea.l    A6, [A4 + 0x344]
  3200. 00001FFC  DDC0                     add.l      A6, D0
  3201. 00001FFE  2053                     movea.l    A0, [A3]
  3202. 00002000  302A 0258                move.w     D0, [A2 + 0x258]
  3203. 00002004  B068 0008                cmp.w      D0, [A0 + 0x8]
  3204. 00002008  6D08                     blt        +0xA /* 00002012 */
  3205. 0000200A  2053                     movea.l    A0, [A3]
  3206. 0000200C  3028 0008                move.w     D0, [A0 + 0x8]
  3207. 00002010  6004                     bra        +0x6 /* 00002016 */
  3208. label00002012:
  3209. 00002012  302A 0258                move.w     D0, [A2 + 0x258]
  3210. label00002016:
  3211. 00002016  3600                     move.w     D3, D0
  3212. 00002018  3043                     movea.w    A0, D3
  3213. 0000201A  2F08                     move.l     -[A7], A0
  3214. 0000201C  2053                     movea.l    A0, [A3]
  3215. 0000201E  2050                     movea.l    A0, [A0]
  3216. 00002020  4868 0002                pea.l      [A0 + 0x2]
  3217. 00002024  486A 0002                pea.l      [A2 + 0x2]
  3218. 00002028  4EAD D946                jsr        [A5 - 0x26BA]
  3219. 0000202C  4A80                     tst.l      D0
  3220. 0000202E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3221. 00002032  6646                     bne        +0x48 /* 0000207A */
  3222. 00002034  4A6B 0030                tst.w      [A3 + 0x30]
  3223. 00002038  6738                     beq        +0x3A /* 00002072 */
  3224. 0000203A  2053                     movea.l    A0, [A3]
  3225. 0000203C  302A 0258                move.w     D0, [A2 + 0x258]
  3226. 00002040  B068 0008                cmp.w      D0, [A0 + 0x8]
  3227. 00002044  6D08                     blt        +0xA /* 0000204E */
  3228. 00002046  2053                     movea.l    A0, [A3]
  3229. 00002048  3028 0008                move.w     D0, [A0 + 0x8]
  3230. 0000204C  6004                     bra        +0x6 /* 00002052 */
  3231. label0000204E:
  3232. 0000204E  302A 0258                move.w     D0, [A2 + 0x258]
  3233. label00002052:
  3234. 00002052  3600                     move.w     D3, D0
  3235. 00002054  3043                     movea.w    A0, D3
  3236. 00002056  2F08                     move.l     -[A7], A0
  3237. 00002058  2053                     movea.l    A0, [A3]
  3238. 0000205A  2068 0004                movea.l    A0, [A0 + 0x4]
  3239. 0000205E  4868 0002                pea.l      [A0 + 0x2]
  3240. 00002062  486A 025C                pea.l      [A2 + 0x25C]
  3241. 00002066  4EAD D946                jsr        [A5 - 0x26BA]
  3242. 0000206A  4A80                     tst.l      D0
  3243. 0000206C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3244. 00002070  6608                     bne        +0xA /* 0000207A */
  3245. label00002072:
  3246. 00002072  2046                     movea.l    A0, D6
  3247. 00002074  3084                     move.w     [A0], D4
  3248. 00002076  7A01                     moveq.l    D5, 0x01
  3249. 00002078  6012                     bra        +0x14 /* 0000208C */
  3250. label0000207A:
  3251. 0000207A  5244                     addq.w     D4, 1
  3252. 0000207C  45EA 04D2                lea.l      A2, [A2 + 0x4D2]
  3253. label00002080:
  3254. 00002080  3004                     move.w     D0, D4
  3255. 00002082  48C0                     ext.l      D0
  3256. 00002084  B0AC 0328                cmp.l      D0, [A4 + 0x328]
  3257. 00002088  6D00 FF48                blt        -0xB6 /* 00001FD2 */
  3258. label0000208C:
  3259. 0000208C  4A47                     tst.w      D7
  3260. 0000208E  670A                     beq        +0xC /* 0000209A */
  3261. 00002090  4267                     clr.w      -[A7]
  3262. 00002092  2F0C                     move.l     -[A7], A4
  3263. 00002094  4EBA 0E70                jsr        [PC + 0xE70 /* 00002F06 */]
  3264. 00002098  5C4F                     addq.w     A7, 6
  3265. label0000209A:
  3266. 0000209A  2F2C 0320                move.l     -[A7], [A4 + 0x320]
  3267. 0000209E  4EBA 3AE4                jsr        [PC + 0x3AE4 /* 00005B84 */]
  3268. 000020A2  584F                     addq.w     A7, 4
  3269. label000020A4:
  3270. 000020A4  3005                     move.w     D0, D5
  3271. 000020A6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3272. 000020AA  4E75                     rts
  3273. fn000020AC:
  3274. 000020AC  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3275. 000020B0  554F                     subq.w     A7, 2
  3276. 000020B2  266F 002A                movea.l    A3, [A7 + 0x2A]
  3277. 000020B6  286F 002E                movea.l    A4, [A7 + 0x2E]
  3278. 000020BA  2C6F 0036                movea.l    A6, [A7 + 0x36]
  3279. 000020BE  7600                     moveq.l    D3, 0x00
  3280. 000020C0  7C00                     moveq.l    D6, 0x00
  3281. 000020C2  4256                     clr.w      [A6]
  3282. 000020C4  4AAB 0320                tst.l      [A3 + 0x320]
  3283. 000020C8  6626                     bne        +0x28 /* 000020F0 */
  3284. 000020CA  42AB 0328                clr.l      [A3 + 0x328]
  3285. 000020CE  701E                     moveq.l    D0, 0x1E
  3286. 000020D0  2740 0324                move.l     [A3 + 0x324], D0
  3287. 000020D4  202B 0324                move.l     D0, [A3 + 0x324]
  3288. 000020D8  223C 0000 04D2           move.l     D1, 0x4D2
  3289. 000020DE  4EAD D8F8                jsr        [A5 - 0x2708]
  3290. 000020E2  2F00                     move.l     -[A7], D0
  3291. 000020E4  4EBA 3A24                jsr        [PC + 0x3A24 /* 00005B0A */]
  3292. 000020E8  2748 0320                move.l     [A3 + 0x320], A0
  3293. 000020EC  584F                     addq.w     A7, 4
  3294. 000020EE  601C                     bra        +0x1E /* 0000210C */
  3295. label000020F0:
  3296. 000020F0  4857                     pea.l      [A7]
  3297. 000020F2  2F0C                     move.l     -[A7], A4
  3298. 000020F4  2F0B                     move.l     -[A7], A3
  3299. 000020F6  4EBA FE8E                jsr        [PC - 0x172 /* 00001F86 */]
  3300. 000020FA  4A40                     tst.w      D0
  3301. 000020FC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3302. 00002100  670A                     beq        +0xC /* 0000210C */
  3303. 00002102  7000                     moveq.l    D0, 0x00
  3304. 00002104  544F                     addq.w     A7, 2
  3305. 00002106  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3306. 0000210A  4E75                     rts
  3307. label0000210C:
  3308. 0000210C  2F2B 0320                move.l     -[A7], [A3 + 0x320]
  3309. 00002110  4EBA 3A4C                jsr        [PC + 0x3A4C /* 00005B5E */]
  3310. 00002114  2448                     movea.l    A2, A0
  3311. 00002116  202B 0328                move.l     D0, [A3 + 0x328]
  3312. 0000211A  B0AB 0324                cmp.l      D0, [A3 + 0x324]
  3313. 0000211E  584F                     addq.w     A7, 4
  3314. 00002120  6C0E                     bge        +0x10 /* 00002130 */
  3315. 00002122  262B 0328                move.l     D3, [A3 + 0x328]
  3316. 00002126  52AB 0328                addq.l     [A3 + 0x328], 1
  3317. 0000212A  3CBC 0001                move.w     [A6], 0x1
  3318. 0000212E  602C                     bra        +0x2E /* 0000215C */
  3319. label00002130:
  3320. 00002130  282A 04CE                move.l     D4, [A2 + 0x4CE]
  3321. 00002134  7A00                     moveq.l    D5, 0x00
  3322. 00002136  2E0A                     move.l     D7, A2
  3323. 00002138  7600                     moveq.l    D3, 0x00
  3324. 0000213A  6012                     bra        +0x14 /* 0000214E */
  3325. label0000213C:
  3326. 0000213C  B8AA 04CE                cmp.l      D4, [A2 + 0x4CE]
  3327. 00002140  6F06                     ble        +0x8 /* 00002148 */
  3328. 00002142  282A 04CE                move.l     D4, [A2 + 0x4CE]
  3329. 00002146  3A03                     move.w     D5, D3
  3330. label00002148:
  3331. 00002148  5243                     addq.w     D3, 1
  3332. 0000214A  45EA 04D2                lea.l      A2, [A2 + 0x4D2]
  3333. label0000214E:
  3334. 0000214E  3003                     move.w     D0, D3
  3335. 00002150  48C0                     ext.l      D0
  3336. 00002152  B0AB 0324                cmp.l      D0, [A3 + 0x324]
  3337. 00002156  6DE4                     blt        -0x1A /* 0000213C */
  3338. 00002158  3605                     move.w     D3, D5
  3339. 0000215A  2447                     movea.l    A2, D7
  3340. label0000215C:
  3341. 0000215C  3003                     move.w     D0, D3
  3342. 0000215E  C1FC 04D2                muls.w     D0, 0x4D2
  3343. 00002162  D5C0                     add.l      A2, D0
  3344. 00002164  2054                     movea.l    A0, [A4]
  3345. 00002166  3568 0008 0258           move.w     [A2 + 0x258], [A0 + 0x8]
  3346. 0000216C  2054                     movea.l    A0, [A4]
  3347. 0000216E  3028 0008                move.w     D0, [A0 + 0x8]
  3348. 00002172  48C0                     ext.l      D0
  3349. 00002174  5480                     addq.l     D0, 2
  3350. 00002176  2200                     move.l     D1, D0
  3351. 00002178  204A                     movea.l    A0, A2
  3352. 0000217A  2254                     movea.l    A1, [A4]
  3353. 0000217C  2251                     movea.l    A1, [A1]
  3354. 0000217E  2008                     move.l     D0, A0
  3355. 00002180  4A81                     tst.l      D1
  3356. 00002182  6706                     beq        +0x8 /* 0000218A */
  3357. label00002184:
  3358. 00002184  10D9                     move.b     [A0]+, [A1]+
  3359. 00002186  5381                     subq.l     D1, 1
  3360. 00002188  66FA                     bne        -0x4 /* 00002184 */
  3361. label0000218A:
  3362. 0000218A  2054                     movea.l    A0, [A4]
  3363. 0000218C  3568 000A 04B2           move.w     [A2 + 0x4B2], [A0 + 0xA]
  3364. 00002192  4A6A 04B2                tst.w      [A2 + 0x4B2]
  3365. 00002196  6722                     beq        +0x24 /* 000021BA */
  3366. 00002198  2054                     movea.l    A0, [A4]
  3367. 0000219A  3028 000A                move.w     D0, [A0 + 0xA]
  3368. 0000219E  48C0                     ext.l      D0
  3369. 000021A0  5480                     addq.l     D0, 2
  3370. 000021A2  2200                     move.l     D1, D0
  3371. 000021A4  41EA 025A                lea.l      A0, [A2 + 0x25A]
  3372. 000021A8  2254                     movea.l    A1, [A4]
  3373. 000021AA  2269 0004                movea.l    A1, [A1 + 0x4]
  3374. 000021AE  2008                     move.l     D0, A0
  3375. 000021B0  4A81                     tst.l      D1
  3376. 000021B2  6706                     beq        +0x8 /* 000021BA */
  3377. label000021B4:
  3378. 000021B4  10D9                     move.b     [A0]+, [A1]+
  3379. 000021B6  5381                     subq.l     D1, 1
  3380. 000021B8  66FA                     bne        -0x4 /* 000021B4 */
  3381. label000021BA:
  3382. 000021BA  356C 0030 04B4           move.w     [A2 + 0x4B4], [A4 + 0x30]
  3383. 000021C0  356C 001A 04B6           move.w     [A2 + 0x4B6], [A4 + 0x1A]
  3384. 000021C6  356C 001C 04B8           move.w     [A2 + 0x4B8], [A4 + 0x1C]
  3385. 000021CC  4A56                     tst.w      [A6]
  3386. 000021CE  6718                     beq        +0x1A /* 000021E8 */
  3387. 000021D0  256F 0032 04BA           move.l     [A2 + 0x4BA], [A7 + 0x32]
  3388. 000021D6  41EC 0020                lea.l      A0, [A4 + 0x20]
  3389. 000021DA  43EA 04BE                lea.l      A1, [A2 + 0x4BE]
  3390. 000021DE  22D8                     move.l     [A1]+, [A0]+
  3391. 000021E0  22D8                     move.l     [A1]+, [A0]+
  3392. 000021E2  22D8                     move.l     [A1]+, [A0]+
  3393. 000021E4  22D8                     move.l     [A1]+, [A0]+
  3394. 000021E6  6072                     bra        +0x74 /* 0000225A */
  3395. label000021E8:
  3396. 000021E8  202C 002C                move.l     D0, [A4 + 0x2C]
  3397. 000021EC  B0AA 04C6                cmp.l      D0, [A2 + 0x4C6]
  3398. 000021F0  6F24                     ble        +0x26 /* 00002216 */
  3399. 000021F2  202C 002C                move.l     D0, [A4 + 0x2C]
  3400. 000021F6  E588                     lsl        D0, 2
  3401. 000021F8  2F00                     move.l     -[A7], D0
  3402. 000021FA  2F2A 04C2                move.l     -[A7], [A2 + 0x4C2]
  3403. 000021FE  4EBA 39A0                jsr        [PC + 0x39A0 /* 00005BA0 */]
  3404. 00002202  4EBA 38DC                jsr        [PC + 0x38DC /* 00005AE0 */]
  3405. 00002206  4A40                     tst.w      D0
  3406. 00002208  504F                     addq.w     A7, 8
  3407. 0000220A  6704                     beq        +0x6 /* 00002210 */
  3408. 0000220C  7C01                     moveq.l    D6, 0x01
  3409. 0000220E  606E                     bra        +0x70 /* 0000227E */
  3410. label00002210:
  3411. 00002210  256C 002C 04C6           move.l     [A2 + 0x4C6], [A4 + 0x2C]
  3412. label00002216:
  3413. 00002216  2F2C 0024                move.l     -[A7], [A4 + 0x24]
  3414. 0000221A  4EBA 3942                jsr        [PC + 0x3942 /* 00005B5E */]
  3415. 0000221E  2C48                     movea.l    A6, A0
  3416. 00002220  2F2A 04C2                move.l     -[A7], [A2 + 0x4C2]
  3417. 00002224  4EBA 3938                jsr        [PC + 0x3938 /* 00005B5E */]
  3418. 00002228  2608                     move.l     D3, A0
  3419. 0000222A  2043                     movea.l    A0, D3
  3420. 0000222C  224E                     movea.l    A1, A6
  3421. 0000222E  222C 002C                move.l     D1, [A4 + 0x2C]
  3422. 00002232  E589                     lsl        D1, 2
  3423. 00002234  2008                     move.l     D0, A0
  3424. 00002236  4A81                     tst.l      D1
  3425. 00002238  6706                     beq        +0x8 /* 00002240 */
  3426. label0000223A:
  3427. 0000223A  10D9                     move.b     [A0]+, [A1]+
  3428. 0000223C  5381                     subq.l     D1, 1
  3429. 0000223E  66FA                     bne        -0x4 /* 0000223A */
  3430. label00002240:
  3431. 00002240  2F2A 04C2                move.l     -[A7], [A2 + 0x4C2]
  3432. 00002244  4EBA 393E                jsr        [PC + 0x393E /* 00005B84 */]
  3433. 00002248  2F2C 0024                move.l     -[A7], [A4 + 0x24]
  3434. 0000224C  4EBA 3936                jsr        [PC + 0x3936 /* 00005B84 */]
  3435. 00002250  256C 002C 04CA           move.l     [A2 + 0x4CA], [A4 + 0x2C]
  3436. 00002256  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3437. label0000225A:
  3438. 0000225A  4A46                     tst.w      D6
  3439. 0000225C  6620                     bne        +0x22 /* 0000227E */
  3440. 0000225E  206A 04BA                movea.l    A0, [A2 + 0x4BA]
  3441. 00002262  2254                     movea.l    A1, [A4]
  3442. 00002264  2269 000C                movea.l    A1, [A1 + 0xC]
  3443. 00002268  222B 0010                move.l     D1, [A3 + 0x10]
  3444. 0000226C  2008                     move.l     D0, A0
  3445. 0000226E  4A81                     tst.l      D1
  3446. 00002270  6706                     beq        +0x8 /* 00002278 */
  3447. label00002272:
  3448. 00002272  10D9                     move.b     [A0]+, [A1]+
  3449. 00002274  5381                     subq.l     D1, 1
  3450. 00002276  66FA                     bne        -0x4 /* 00002272 */
  3451. label00002278:
  3452. 00002278  256B 032C 04CE           move.l     [A2 + 0x4CE], [A3 + 0x32C]
  3453. label0000227E:
  3454. 0000227E  2F2B 0320                move.l     -[A7], [A3 + 0x320]
  3455. 00002282  4EBA 3900                jsr        [PC + 0x3900 /* 00005B84 */]
  3456. 00002286  3006                     move.w     D0, D6
  3457. 00002288  5C4F                     addq.w     A7, 6
  3458. 0000228A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3459. 0000228E  4E75                     rts
  3460. fn00002290:
  3461. 00002290  48E7 1030                movem.l    -[A7], D3,A2,A3
  3462. 00002294  246F 0010                movea.l    A2, [A7 + 0x10]
  3463. 00002298  262F 0014                move.l     D3, [A7 + 0x14]
  3464. 0000229C  42AA 05DC                clr.l      [A2 + 0x5DC]
  3465. 000022A0  426A 05DA                clr.w      [A2 + 0x5DA]
  3466. 000022A4  266A 0348                movea.l    A3, [A2 + 0x348]
  3467. 000022A8  D7EA 05DC                add.l      A3, [A2 + 0x5DC]
  3468. 000022AC  4293                     clr.l      [A3]
  3469. 000022AE  2543 05E0                move.l     [A2 + 0x5E0], D3
  3470. 000022B2  266A 0348                movea.l    A3, [A2 + 0x348]
  3471. 000022B6  D7EA 05DC                add.l      A3, [A2 + 0x5DC]
  3472. 000022BA  588B                     addq.l     A3, 4
  3473. 000022BC  2683                     move.l     [A3], D3
  3474. 000022BE  256F 0018 05D6           move.l     [A2 + 0x5D6], [A7 + 0x18]
  3475. 000022C4  2F2A 05D6                move.l     -[A7], [A2 + 0x5D6]
  3476. 000022C8  2F0A                     move.l     -[A7], A2
  3477. 000022CA  4EBA 000E                jsr        [PC + 0xE /* 000022DA */]
  3478. 000022CE  2600                     move.l     D3, D0
  3479. 000022D0  2003                     move.l     D0, D3
  3480. 000022D2  504F                     addq.w     A7, 8
  3481. 000022D4  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3482. 000022D8  4E75                     rts
  3483. fn000022DA:
  3484. 000022DA  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  3485. 000022DE  246F 0018                movea.l    A2, [A7 + 0x18]
  3486. 000022E2  2A2F 001C                move.l     D5, [A7 + 0x1C]
  3487. 000022E6  2605                     move.l     D3, D5
  3488. 000022E8  E283                     asr        D3, 1
  3489. 000022EA  7005                     moveq.l    D0, 0x05
  3490. 000022EC  BA80                     cmp.l      D5, D0
  3491. 000022EE  6602                     bne        +0x4 /* 000022F2 */
  3492. 000022F0  5283                     addq.l     D3, 1
  3493. label000022F2:
  3494. 000022F2  4A6A 05DA                tst.w      [A2 + 0x5DA]
  3495. 000022F6  6708                     beq        +0xA /* 00002300 */
  3496. 000022F8  2005                     move.l     D0, D5
  3497. 000022FA  9083                     sub.l      D0, D3
  3498. 000022FC  5380                     subq.l     D0, 1
  3499. 000022FE  2600                     move.l     D3, D0
  3500. label00002300:
  3501. 00002300  357C 0001 05DA           move.w     [A2 + 0x5DA], 0x1
  3502. 00002306  4A83                     tst.l      D3
  3503. 00002308  6E04                     bgt        +0x6 /* 0000230E */
  3504. 0000230A  7000                     moveq.l    D0, 0x00
  3505. 0000230C  600A                     bra        +0xC /* 00002318 */
  3506. label0000230E:
  3507. 0000230E  2F03                     move.l     -[A7], D3
  3508. 00002310  2F0A                     move.l     -[A7], A2
  3509. 00002312  4EBA FFC6                jsr        [PC - 0x3A /* 000022DA */]
  3510. 00002316  504F                     addq.w     A7, 8
  3511. label00002318:
  3512. 00002318  2800                     move.l     D4, D0
  3513. 0000231A  266A 0348                movea.l    A3, [A2 + 0x348]
  3514. 0000231E  D7EA 05E0                add.l      A3, [A2 + 0x5E0]
  3515. 00002322  2684                     move.l     [A3], D4
  3516. 00002324  282A 05E0                move.l     D4, [A2 + 0x5E0]
  3517. 00002328  206A 0348                movea.l    A0, [A2 + 0x348]
  3518. 0000232C  202A 05E0                move.l     D0, [A2 + 0x5E0]
  3519. 00002330  2570 0804 05E0           move.l     [A2 + 0x5E0], [A0 + D0 + 0x4]
  3520. 00002336  4AAA 05E0                tst.l      [A2 + 0x5E0]
  3521. 0000233A  672A                     beq        +0x2C /* 00002366 */
  3522. 0000233C  426A 05DA                clr.w      [A2 + 0x5DA]
  3523. 00002340  2005                     move.l     D0, D5
  3524. 00002342  9083                     sub.l      D0, D3
  3525. 00002344  5380                     subq.l     D0, 1
  3526. 00002346  2600                     move.l     D3, D0
  3527. 00002348  4A83                     tst.l      D3
  3528. 0000234A  6E04                     bgt        +0x6 /* 00002350 */
  3529. 0000234C  7000                     moveq.l    D0, 0x00
  3530. 0000234E  600A                     bra        +0xC /* 0000235A */
  3531. label00002350:
  3532. 00002350  2F03                     move.l     -[A7], D3
  3533. 00002352  2F0A                     move.l     -[A7], A2
  3534. 00002354  4EBA FF84                jsr        [PC - 0x7C /* 000022DA */]
  3535. 00002358  504F                     addq.w     A7, 8
  3536. label0000235A:
  3537. 0000235A  2A00                     move.l     D5, D0
  3538. 0000235C  266A 0348                movea.l    A3, [A2 + 0x348]
  3539. 00002360  D7C4                     add.l      A3, D4
  3540. 00002362  588B                     addq.l     A3, 4
  3541. 00002364  2685                     move.l     [A3], D5
  3542. label00002366:
  3543. 00002366  2004                     move.l     D0, D4
  3544. 00002368  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3545. 0000236C  4E75                     rts
  3546. fn0000236E:
  3547. 0000236E  48E7 0030                movem.l    -[A7], A2,A3
  3548. 00002372  594F                     subq.w     A7, 4
  3549. 00002374  246F 0014                movea.l    A2, [A7 + 0x14]
  3550. 00002378  266F 001C                movea.l    A3, [A7 + 0x1C]
  3551. 0000237C  4AAA 0024                tst.l      [A2 + 0x24]
  3552. 00002380  663C                     bne        +0x3E /* 000023BE */
  3553. 00002382  4293                     clr.l      [A3]
  3554. 00002384  42AA 002C                clr.l      [A2 + 0x2C]
  3555. 00002388  7002                     moveq.l    D0, 0x02
  3556. 0000238A  2540 0028                move.l     [A2 + 0x28], D0
  3557. 0000238E  202A 0028                move.l     D0, [A2 + 0x28]
  3558. 00002392  E588                     lsl        D0, 2
  3559. 00002394  2F00                     move.l     -[A7], D0
  3560. 00002396  4EBA 3772                jsr        [PC + 0x3772 /* 00005B0A */]
  3561. 0000239A  2548 0024                move.l     [A2 + 0x24], A0
  3562. 0000239E  4AAA 0024                tst.l      [A2 + 0x24]
  3563. 000023A2  584F                     addq.w     A7, 4
  3564. 000023A4  660A                     bne        +0xC /* 000023B0 */
  3565. 000023A6  7001                     moveq.l    D0, 0x01
  3566. 000023A8  584F                     addq.w     A7, 4
  3567. 000023AA  4CDF 0C00                movem.l    A2,A3, [A7]+
  3568. 000023AE  4E75                     rts
  3569. label000023B0:
  3570. 000023B0  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3571. 000023B4  4EBA 37A8                jsr        [PC + 0x37A8 /* 00005B5E */]
  3572. 000023B8  2688                     move.l     [A3], A0
  3573. 000023BA  584F                     addq.w     A7, 4
  3574. 000023BC  607A                     bra        +0x7C /* 00002438 */
  3575. label000023BE:
  3576. 000023BE  202A 002C                move.l     D0, [A2 + 0x2C]
  3577. 000023C2  B0AA 0028                cmp.l      D0, [A2 + 0x28]
  3578. 000023C6  6D50                     blt        +0x52 /* 00002418 */
  3579. 000023C8  4293                     clr.l      [A3]
  3580. 000023CA  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3581. 000023CE  4EBA 37B4                jsr        [PC + 0x37B4 /* 00005B84 */]
  3582. 000023D2  7064                     moveq.l    D0, 0x64
  3583. 000023D4  D1AA 0028                add.l      [A2 + 0x28], D0
  3584. 000023D8  202A 0028                move.l     D0, [A2 + 0x28]
  3585. 000023DC  E588                     lsl        D0, 2
  3586. 000023DE  2F00                     move.l     -[A7], D0
  3587. 000023E0  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3588. 000023E4  4EBA 37BA                jsr        [PC + 0x37BA /* 00005BA0 */]
  3589. 000023E8  4EBA 36F6                jsr        [PC + 0x36F6 /* 00005AE0 */]
  3590. 000023EC  4A40                     tst.w      D0
  3591. 000023EE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3592. 000023F2  670A                     beq        +0xC /* 000023FE */
  3593. 000023F4  7001                     moveq.l    D0, 0x01
  3594. 000023F6  584F                     addq.w     A7, 4
  3595. 000023F8  4CDF 0C00                movem.l    A2,A3, [A7]+
  3596. 000023FC  4E75                     rts
  3597. label000023FE:
  3598. 000023FE  202A 002C                move.l     D0, [A2 + 0x2C]
  3599. 00002402  E588                     lsl        D0, 2
  3600. 00002404  2E80                     move.l     [A7], D0
  3601. 00002406  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3602. 0000240A  4EBA 3752                jsr        [PC + 0x3752 /* 00005B5E */]
  3603. 0000240E  D1EF 0004                add.l      A0, [A7 + 0x4]
  3604. 00002412  2688                     move.l     [A3], A0
  3605. 00002414  584F                     addq.w     A7, 4
  3606. 00002416  6020                     bra        +0x22 /* 00002438 */
  3607. label00002418:
  3608. 00002418  4A93                     tst.l      [A3]
  3609. 0000241A  661A                     bne        +0x1C /* 00002436 */
  3610. 0000241C  202A 002C                move.l     D0, [A2 + 0x2C]
  3611. 00002420  E588                     lsl        D0, 2
  3612. 00002422  2E80                     move.l     [A7], D0
  3613. 00002424  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3614. 00002428  4EBA 3734                jsr        [PC + 0x3734 /* 00005B5E */]
  3615. 0000242C  D1EF 0004                add.l      A0, [A7 + 0x4]
  3616. 00002430  2688                     move.l     [A3], A0
  3617. 00002432  584F                     addq.w     A7, 4
  3618. 00002434  6002                     bra        +0x4 /* 00002438 */
  3619. label00002436:
  3620. 00002436  5893                     addq.l     [A3], 4
  3621. label00002438:
  3622. 00002438  2053                     movea.l    A0, [A3]
  3623. 0000243A  20AF 0018                move.l     [A0], [A7 + 0x18]
  3624. 0000243E  52AA 002C                addq.l     [A2 + 0x2C], 1
  3625. 00002442  7000                     moveq.l    D0, 0x00
  3626. 00002444  584F                     addq.w     A7, 4
  3627. 00002446  4CDF 0C00                movem.l    A2,A3, [A7]+
  3628. 0000244A  4E75                     rts
  3629. fn0000244C:
  3630. 0000244C  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  3631. 00002450  4FEF FFF6                lea.l      A7, [A7 - 0xA]
  3632. 00002454  246F 002E                movea.l    A2, [A7 + 0x2E]
  3633. 00002458  2E2F 0032                move.l     D7, [A7 + 0x32]
  3634. 0000245C  2A2F 0036                move.l     D5, [A7 + 0x36]
  3635. 00002460  2C2F 003A                move.l     D6, [A7 + 0x3A]
  3636. 00002464  266F 003E                movea.l    A3, [A7 + 0x3E]
  3637. 00002468  286F 0042                movea.l    A4, [A7 + 0x42]
  3638. 0000246C  2F0A                     move.l     -[A7], A2
  3639. 0000246E  4EBA 00EA                jsr        [PC + 0xEA /* 0000255A */]
  3640. 00002472  486F 000A                pea.l      [A7 + 0xA]
  3641. 00002476  486F 0008                pea.l      [A7 + 0x8]
  3642. 0000247A  486F 0010                pea.l      [A7 + 0x10]
  3643. 0000247E  2F07                     move.l     -[A7], D7
  3644. 00002480  2F0A                     move.l     -[A7], A2
  3645. 00002482  4EBA E062                jsr        [PC - 0x1F9E /* 000004E6 */]
  3646. 00002486  3800                     move.w     D4, D0
  3647. 00002488  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3648. 0000248C  670C                     beq        +0xE /* 0000249A */
  3649. 0000248E  3004                     move.w     D0, D4
  3650. 00002490  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3651. 00002494  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  3652. 00002498  4E75                     rts
  3653. label0000249A:
  3654. 0000249A  2F0B                     move.l     -[A7], A3
  3655. 0000249C  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  3656. 000024A0  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  3657. 000024A4  2F0A                     move.l     -[A7], A2
  3658. 000024A6  4EBA 00E8                jsr        [PC + 0xE8 /* 00002590 */]
  3659. 000024AA  263C 0000 1000           move.l     D3, 0x1000
  3660. 000024B0  96AF 0014                sub.l      D3, [A7 + 0x14]
  3661. 000024B4  B685                     cmp.l      D3, D5
  3662. 000024B6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3663. 000024BA  6D18                     blt        +0x1A /* 000024D4 */
  3664. 000024BC  B686                     cmp.l      D3, D6
  3665. 000024BE  6D04                     blt        +0x6 /* 000024C4 */
  3666. 000024C0  2006                     move.l     D0, D6
  3667. 000024C2  6002                     bra        +0x4 /* 000024C6 */
  3668. label000024C4:
  3669. 000024C4  2003                     move.l     D0, D3
  3670. label000024C6:
  3671. 000024C6  2880                     move.l     [A4], D0
  3672. 000024C8  7000                     moveq.l    D0, 0x00
  3673. 000024CA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3674. 000024CE  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  3675. 000024D2  4E75                     rts
  3676. label000024D4:
  3677. 000024D4  41EA 034E                lea.l      A0, [A2 + 0x34E]
  3678. 000024D8  2253                     movea.l    A1, [A3]
  3679. 000024DA  2203                     move.l     D1, D3
  3680. 000024DC  2008                     move.l     D0, A0
  3681. 000024DE  4A81                     tst.l      D1
  3682. 000024E0  6706                     beq        +0x8 /* 000024E8 */
  3683. label000024E2:
  3684. 000024E2  10D9                     move.b     [A0]+, [A1]+
  3685. 000024E4  5381                     subq.l     D1, 1
  3686. 000024E6  66FA                     bne        -0x4 /* 000024E2 */
  3687. label000024E8:
  3688. 000024E8  2F0A                     move.l     -[A7], A2
  3689. 000024EA  4EBA 006E                jsr        [PC + 0x6E /* 0000255A */]
  3690. 000024EE  486F 000A                pea.l      [A7 + 0xA]
  3691. 000024F2  486F 0008                pea.l      [A7 + 0x8]
  3692. 000024F6  486F 0010                pea.l      [A7 + 0x10]
  3693. 000024FA  2007                     move.l     D0, D7
  3694. 000024FC  D083                     add.l      D0, D3
  3695. 000024FE  2F00                     move.l     -[A7], D0
  3696. 00002500  2F0A                     move.l     -[A7], A2
  3697. 00002502  4EBA DFE2                jsr        [PC - 0x201E /* 000004E6 */]
  3698. 00002506  3800                     move.w     D4, D0
  3699. 00002508  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3700. 0000250C  670C                     beq        +0xE /* 0000251A */
  3701. 0000250E  3004                     move.w     D0, D4
  3702. 00002510  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3703. 00002514  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  3704. 00002518  4E75                     rts
  3705. label0000251A:
  3706. 0000251A  2F0B                     move.l     -[A7], A3
  3707. 0000251C  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  3708. 00002520  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  3709. 00002524  2F0A                     move.l     -[A7], A2
  3710. 00002526  4EBA 0068                jsr        [PC + 0x68 /* 00002590 */]
  3711. 0000252A  204A                     movea.l    A0, A2
  3712. 0000252C  D1C3                     add.l      A0, D3
  3713. 0000252E  41E8 034E                lea.l      A0, [A0 + 0x34E]
  3714. 00002532  2253                     movea.l    A1, [A3]
  3715. 00002534  2205                     move.l     D1, D5
  3716. 00002536  9283                     sub.l      D1, D3
  3717. 00002538  2008                     move.l     D0, A0
  3718. 0000253A  4A81                     tst.l      D1
  3719. 0000253C  6706                     beq        +0x8 /* 00002544 */
  3720. label0000253E:
  3721. 0000253E  10D9                     move.b     [A0]+, [A1]+
  3722. 00002540  5381                     subq.l     D1, 1
  3723. 00002542  66FA                     bne        -0x4 /* 0000253E */
  3724. label00002544:
  3725. 00002544  204A                     movea.l    A0, A2
  3726. 00002546  41E8 034E                lea.l      A0, [A0 + 0x34E]
  3727. 0000254A  2688                     move.l     [A3], A0
  3728. 0000254C  2885                     move.l     [A4], D5
  3729. 0000254E  7000                     moveq.l    D0, 0x00
  3730. 00002550  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3731. 00002554  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  3732. 00002558  4E75                     rts
  3733. fn0000255A:
  3734. 0000255A  2F0A                     move.l     -[A7], A2
  3735. 0000255C  594F                     subq.w     A7, 4
  3736. 0000255E  246F 000C                movea.l    A2, [A7 + 0xC]
  3737. 00002562  0C6A FFFF 034C           cmpi.w     [A2 + 0x34C], 0xFFFF
  3738. 00002568  671E                     beq        +0x20 /* 00002588 */
  3739. 0000256A  700C                     moveq.l    D0, 0x0C
  3740. 0000256C  C1EA 034C                muls.w     D0, [A2 + 0x34C]
  3741. 00002570  204A                     movea.l    A0, A2
  3742. 00002572  D1C0                     add.l      A0, D0
  3743. 00002574  41E8 00B8                lea.l      A0, [A0 + 0xB8]
  3744. 00002578  2E88                     move.l     [A7], A0
  3745. 0000257A  2F10                     move.l     -[A7], [A0]
  3746. 0000257C  4EBA 3606                jsr        [PC + 0x3606 /* 00005B84 */]
  3747. 00002580  357C FFFF 034C           move.w     [A2 + 0x34C], 0xFFFF
  3748. 00002586  584F                     addq.w     A7, 4
  3749. label00002588:
  3750. 00002588  7000                     moveq.l    D0, 0x00
  3751. 0000258A  584F                     addq.w     A7, 4
  3752. 0000258C  245F                     movea.l    A2, [A7]+
  3753. 0000258E  4E75                     rts
  3754. fn00002590:
  3755. 00002590  48E7 1030                movem.l    -[A7], D3,A2,A3
  3756. 00002594  246F 0010                movea.l    A2, [A7 + 0x10]
  3757. 00002598  362F 0014                move.w     D3, [A7 + 0x14]
  3758. 0000259C  B66A 034C                cmp.w      D3, [A2 + 0x34C]
  3759. 000025A0  6708                     beq        +0xA /* 000025AA */
  3760. 000025A2  2F0A                     move.l     -[A7], A2
  3761. 000025A4  4EBA FFB4                jsr        [PC - 0x4C /* 0000255A */]
  3762. 000025A8  584F                     addq.w     A7, 4
  3763. label000025AA:
  3764. 000025AA  700C                     moveq.l    D0, 0x0C
  3765. 000025AC  C1C3                     muls.w     D0, D3
  3766. 000025AE  264A                     movea.l    A3, A2
  3767. 000025B0  D7C0                     add.l      A3, D0
  3768. 000025B2  47EB 00B8                lea.l      A3, [A3 + 0xB8]
  3769. 000025B6  2F13                     move.l     -[A7], [A3]
  3770. 000025B8  4EBA 35A4                jsr        [PC + 0x35A4 /* 00005B5E */]
  3771. 000025BC  D1EF 001A                add.l      A0, [A7 + 0x1A]
  3772. 000025C0  226F 001E                movea.l    A1, [A7 + 0x1E]
  3773. 000025C4  2288                     move.l     [A1], A0
  3774. 000025C6  3543 034C                move.w     [A2 + 0x34C], D3
  3775. 000025CA  7000                     moveq.l    D0, 0x00
  3776. 000025CC  584F                     addq.w     A7, 4
  3777. 000025CE  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3778. 000025D2  4E75                     rts
  3779. fn000025D4:
  3780. 000025D4  2F0A                     move.l     -[A7], A2
  3781. 000025D6  246F 0008                movea.l    A2, [A7 + 0x8]
  3782. 000025DA  4AAA 0318                tst.l      [A2 + 0x318]
  3783. 000025DE  670E                     beq        +0x10 /* 000025EE */
  3784. 000025E0  2F2A 0318                move.l     -[A7], [A2 + 0x318]
  3785. 000025E4  4EBA 363A                jsr        [PC + 0x363A /* 00005C20 */]
  3786. 000025E8  42AA 0318                clr.l      [A2 + 0x318]
  3787. 000025EC  584F                     addq.w     A7, 4
  3788. label000025EE:
  3789. 000025EE  2F0A                     move.l     -[A7], A2
  3790. 000025F0  4EBA 0878                jsr        [PC + 0x878 /* 00002E6A */]
  3791. 000025F4  4267                     clr.w      -[A7]
  3792. 000025F6  2F0A                     move.l     -[A7], A2
  3793. 000025F8  4EBA E1BC                jsr        [PC - 0x1E44 /* 000007B6 */]
  3794. 000025FC  4AAA 0334                tst.l      [A2 + 0x334]
  3795. 00002600  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3796. 00002604  670A                     beq        +0xC /* 00002610 */
  3797. 00002606  2F2A 0334                move.l     -[A7], [A2 + 0x334]
  3798. 0000260A  4EBA 3536                jsr        [PC + 0x3536 /* 00005B42 */]
  3799. 0000260E  584F                     addq.w     A7, 4
  3800. label00002610:
  3801. 00002610  4878 0010                push.l     0x10
  3802. 00002614  42A7                     clr.l      -[A7]
  3803. 00002616  486A 0330                pea.l      [A2 + 0x330]
  3804. 0000261A  4EAD D94C                jsr        [A5 - 0x26B4]
  3805. 0000261E  42A7                     clr.l      -[A7]
  3806. 00002620  42A7                     clr.l      -[A7]
  3807. 00002622  2F0A                     move.l     -[A7], A2
  3808. 00002624  4EBA 0CA6                jsr        [PC + 0xCA6 /* 000032CC */]
  3809. 00002628  2F0A                     move.l     -[A7], A2
  3810. 0000262A  4EBA F772                jsr        [PC - 0x88E /* 00001D9E */]
  3811. 0000262E  2F0A                     move.l     -[A7], A2
  3812. 00002630  4EBA FF28                jsr        [PC - 0xD8 /* 0000255A */]
  3813. 00002634  2F0A                     move.l     -[A7], A2
  3814. 00002636  4EBA 000A                jsr        [PC + 0xA /* 00002642 */]
  3815. 0000263A  4FEF 0024                lea.l      A7, [A7 + 0x24]
  3816. 0000263E  245F                     movea.l    A2, [A7]+
  3817. 00002640  4E75                     rts
  3818. fn00002642:
  3819. 00002642  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  3820. 00002646  286F 0014                movea.l    A4, [A7 + 0x14]
  3821. 0000264A  244C                     movea.l    A2, A4
  3822. 0000264C  45EA 00B8                lea.l      A2, [A2 + 0xB8]
  3823. 00002650  264C                     movea.l    A3, A4
  3824. 00002652  47EB 0224                lea.l      A3, [A3 + 0x224]
  3825. 00002656  7600                     moveq.l    D3, 0x00
  3826. 00002658  6022                     bra        +0x24 /* 0000267C */
  3827. label0000265A:
  3828. 0000265A  4A92                     tst.l      [A2]
  3829. 0000265C  6708                     beq        +0xA /* 00002666 */
  3830. 0000265E  2F12                     move.l     -[A7], [A2]
  3831. 00002660  4EBA 34E0                jsr        [PC + 0x34E0 /* 00005B42 */]
  3832. 00002664  584F                     addq.w     A7, 4
  3833. label00002666:
  3834. 00002666  4878 000C                push.l     0xC
  3835. 0000266A  42A7                     clr.l      -[A7]
  3836. 0000266C  2F0A                     move.l     -[A7], A2
  3837. 0000266E  4EAD D94C                jsr        [A5 - 0x26B4]
  3838. 00002672  5243                     addq.w     D3, 1
  3839. 00002674  700C                     moveq.l    D0, 0x0C
  3840. 00002676  D5C0                     add.l      A2, D0
  3841. 00002678  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3842. label0000267C:
  3843. 0000267C  3003                     move.w     D0, D3
  3844. 0000267E  48C0                     ext.l      D0
  3845. 00002680  721E                     moveq.l    D1, 0x1E
  3846. 00002682  B081                     cmp.l      D0, D1
  3847. 00002684  6DD4                     blt        -0x2A /* 0000265A */
  3848. 00002686  7600                     moveq.l    D3, 0x00
  3849. 00002688  6022                     bra        +0x24 /* 000026AC */
  3850. label0000268A:
  3851. 0000268A  4A93                     tst.l      [A3]
  3852. 0000268C  6708                     beq        +0xA /* 00002696 */
  3853. 0000268E  2F13                     move.l     -[A7], [A3]
  3854. 00002690  4EBA 34B0                jsr        [PC + 0x34B0 /* 00005B42 */]
  3855. 00002694  584F                     addq.w     A7, 4
  3856. label00002696:
  3857. 00002696  4878 000C                push.l     0xC
  3858. 0000269A  42A7                     clr.l      -[A7]
  3859. 0000269C  2F0B                     move.l     -[A7], A3
  3860. 0000269E  4EAD D94C                jsr        [A5 - 0x26B4]
  3861. 000026A2  5243                     addq.w     D3, 1
  3862. 000026A4  700C                     moveq.l    D0, 0x0C
  3863. 000026A6  D7C0                     add.l      A3, D0
  3864. 000026A8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3865. label000026AC:
  3866. 000026AC  3003                     move.w     D0, D3
  3867. 000026AE  48C0                     ext.l      D0
  3868. 000026B0  7214                     moveq.l    D1, 0x14
  3869. 000026B2  B081                     cmp.l      D0, D1
  3870. 000026B4  6DD4                     blt        -0x2A /* 0000268A */
  3871. 000026B6  4878 016C                push.l     0x16C
  3872. 000026BA  42A7                     clr.l      -[A7]
  3873. 000026BC  486C 00B8                pea.l      [A4 + 0xB8]
  3874. 000026C0  4EAD D94C                jsr        [A5 - 0x26B4]
  3875. 000026C4  4878 00F4                push.l     0xF4
  3876. 000026C8  42A7                     clr.l      -[A7]
  3877. 000026CA  486C 0224                pea.l      [A4 + 0x224]
  3878. 000026CE  4EAD D94C                jsr        [A5 - 0x26B4]
  3879. 000026D2  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3880. 000026D6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3881. 000026DA  4E75                     rts
  3882. fn000026DC:
  3883. 000026DC  48E7 1020                movem.l    -[A7], D3,A2
  3884. 000026E0  554F                     subq.w     A7, 2
  3885. 000026E2  246F 000E                movea.l    A2, [A7 + 0xE]
  3886. 000026E6  7602                     moveq.l    D3, 0x02
  3887. 000026E8  3EAD A436                move.w     [A7], [A5 - 0x5BCA]
  3888. 000026EC  4267                     clr.w      -[A7]
  3889. 000026EE  2F2A 0006                move.l     -[A7], [A2 + 0x6]
  3890. 000026F2  3F12                     move.w     -[A7], [A2]
  3891. 000026F4  4EAD ECF0                jsr        [A5 - 0x1310]
  3892. 000026F8  5280                     addq.l     D0, 1
  3893. 000026FA  504F                     addq.w     A7, 8
  3894. 000026FC  660A                     bne        +0xC /* 00002708 */
  3895. 000026FE  7003                     moveq.l    D0, 0x03
  3896. 00002700  544F                     addq.w     A7, 2
  3897. 00002702  4CDF 0408                movem.l    D3,A2, [A7]+
  3898. 00002706  4E75                     rts
  3899. label00002708:
  3900. 00002708  3043                     movea.w    A0, D3
  3901. 0000270A  2F08                     move.l     -[A7], A0
  3902. 0000270C  486F 0004                pea.l      [A7 + 0x4]
  3903. 00002710  3F12                     move.w     -[A7], [A2]
  3904. 00002712  4EAD ECE8                jsr        [A5 - 0x1318]
  3905. 00002716  3203                     move.w     D1, D3
  3906. 00002718  48C1                     ext.l      D1
  3907. 0000271A  B280                     cmp.l      D1, D0
  3908. 0000271C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3909. 00002720  670A                     beq        +0xC /* 0000272C */
  3910. 00002722  7004                     moveq.l    D0, 0x04
  3911. 00002724  544F                     addq.w     A7, 2
  3912. 00002726  4CDF 0408                movem.l    D3,A2, [A7]+
  3913. 0000272A  4E75                     rts
  3914. label0000272C:
  3915. 0000272C  3017                     move.w     D0, [A7]
  3916. 0000272E  48C0                     ext.l      D0
  3917. 00002730  7203                     moveq.l    D1, 0x03
  3918. 00002732  B081                     cmp.l      D0, D1
  3919. 00002734  6C0A                     bge        +0xC /* 00002740 */
  3920. 00002736  7012                     moveq.l    D0, 0x12
  3921. 00002738  544F                     addq.w     A7, 2
  3922. 0000273A  4CDF 0408                movem.l    D3,A2, [A7]+
  3923. 0000273E  4E75                     rts
  3924. label00002740:
  3925. 00002740  7000                     moveq.l    D0, 0x00
  3926. 00002742  544F                     addq.w     A7, 2
  3927. 00002744  4CDF 0408                movem.l    D3,A2, [A7]+
  3928. 00002748  4E75                     rts
  3929. fn0000274A:
  3930. 0000274A  48E7 1020                movem.l    -[A7], D3,A2
  3931. 0000274E  246F 000C                movea.l    A2, [A7 + 0xC]
  3932. 00002752  2F0A                     move.l     -[A7], A2
  3933. 00002754  4EBA FF86                jsr        [PC - 0x7A /* 000026DC */]
  3934. 00002758  3600                     move.w     D3, D0
  3935. 0000275A  584F                     addq.w     A7, 4
  3936. 0000275C  6600 0092                bne        +0x94 /* 000027F0 */
  3937. 00002760  2F0A                     move.l     -[A7], A2
  3938. 00002762  4EBA DFD4                jsr        [PC - 0x202C /* 00000738 */]
  3939. 00002766  3600                     move.w     D3, D0
  3940. 00002768  584F                     addq.w     A7, 4
  3941. 0000276A  6600 0084                bne        +0x86 /* 000027F0 */
  3942. 0000276E  2F0A                     move.l     -[A7], A2
  3943. 00002770  4EBA 00A8                jsr        [PC + 0xA8 /* 0000281A */]
  3944. 00002774  3F3C 0001                move.w     -[A7], 0x1
  3945. 00002778  2F0A                     move.l     -[A7], A2
  3946. 0000277A  4EBA E03A                jsr        [PC - 0x1FC6 /* 000007B6 */]
  3947. 0000277E  3600                     move.w     D3, D0
  3948. 00002780  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3949. 00002784  666A                     bne        +0x6C /* 000027F0 */
  3950. 00002786  2F0A                     move.l     -[A7], A2
  3951. 00002788  4EBA E1A8                jsr        [PC - 0x1E58 /* 00000932 */]
  3952. 0000278C  3600                     move.w     D3, D0
  3953. 0000278E  584F                     addq.w     A7, 4
  3954. 00002790  665E                     bne        +0x60 /* 000027F0 */
  3955. 00002792  2F0A                     move.l     -[A7], A2
  3956. 00002794  4EBA E202                jsr        [PC - 0x1DFE /* 00000998 */]
  3957. 00002798  3600                     move.w     D3, D0
  3958. 0000279A  584F                     addq.w     A7, 4
  3959. 0000279C  6652                     bne        +0x54 /* 000027F0 */
  3960. 0000279E  2F0A                     move.l     -[A7], A2
  3961. 000027A0  4EBA E25C                jsr        [PC - 0x1DA4 /* 000009FE */]
  3962. 000027A4  3600                     move.w     D3, D0
  3963. 000027A6  584F                     addq.w     A7, 4
  3964. 000027A8  6646                     bne        +0x48 /* 000027F0 */
  3965. 000027AA  2F0A                     move.l     -[A7], A2
  3966. 000027AC  4EBA E2C0                jsr        [PC - 0x1D40 /* 00000A6E */]
  3967. 000027B0  3600                     move.w     D3, D0
  3968. 000027B2  584F                     addq.w     A7, 4
  3969. 000027B4  663A                     bne        +0x3C /* 000027F0 */
  3970. 000027B6  2F0A                     move.l     -[A7], A2
  3971. 000027B8  4EBA E4B2                jsr        [PC - 0x1B4E /* 00000C6C */]
  3972. 000027BC  3600                     move.w     D3, D0
  3973. 000027BE  584F                     addq.w     A7, 4
  3974. 000027C0  662E                     bne        +0x30 /* 000027F0 */
  3975. 000027C2  2F0A                     move.l     -[A7], A2
  3976. 000027C4  4EBA E5F8                jsr        [PC - 0x1A08 /* 00000DBE */]
  3977. 000027C8  3600                     move.w     D3, D0
  3978. 000027CA  584F                     addq.w     A7, 4
  3979. 000027CC  6622                     bne        +0x24 /* 000027F0 */
  3980. 000027CE  2F0A                     move.l     -[A7], A2
  3981. 000027D0  4EBA E302                jsr        [PC - 0x1CFE /* 00000AD4 */]
  3982. 000027D4  3600                     move.w     D3, D0
  3983. 000027D6  584F                     addq.w     A7, 4
  3984. 000027D8  6616                     bne        +0x18 /* 000027F0 */
  3985. 000027DA  2F0A                     move.l     -[A7], A2
  3986. 000027DC  4EBA E3A0                jsr        [PC - 0x1C60 /* 00000B7E */]
  3987. 000027E0  3600                     move.w     D3, D0
  3988. 000027E2  584F                     addq.w     A7, 4
  3989. 000027E4  660A                     bne        +0xC /* 000027F0 */
  3990. 000027E6  2F0A                     move.l     -[A7], A2
  3991. 000027E8  4EBA 0070                jsr        [PC + 0x70 /* 0000285A */]
  3992. 000027EC  3600                     move.w     D3, D0
  3993. 000027EE  584F                     addq.w     A7, 4
  3994. label000027F0:
  3995. 000027F0  3003                     move.w     D0, D3
  3996. 000027F2  4CDF 0408                movem.l    D3,A2, [A7]+
  3997. 000027F6  4E75                     rts
  3998. fn000027F8:
  3999. 000027F8  514F                     subq.w     A7, 8
  4000. 000027FA  700A                     moveq.l    D0, 0x0A
  4001. 000027FC  2E80                     move.l     [A7], D0
  4002. 000027FE  202F 0010                move.l     D0, [A7 + 0x10]
  4003. 00002802  E788                     lsl        D0, 3
  4004. 00002804  D0AF 0014                add.l      D0, [A7 + 0x14]
  4005. 00002808  7210                     moveq.l    D1, 0x10
  4006. 0000280A  D081                     add.l      D0, D1
  4007. 0000280C  D097                     add.l      D0, [A7]
  4008. 0000280E  2F40 0004                move.l     [A7 + 0x4], D0
  4009. 00002812  202F 0004                move.l     D0, [A7 + 0x4]
  4010. 00002816  504F                     addq.w     A7, 8
  4011. 00002818  4E75                     rts
  4012. fn0000281A:
  4013. 0000281A  226F 0004                movea.l    A1, [A7 + 0x4]
  4014. 0000281E  2049                     movea.l    A0, A1
  4015. 00002820  41E8 002C                lea.l      A0, [A0 + 0x2C]
  4016. 00002824  2028 0008                move.l     D0, [A0 + 0x8]
  4017. 00002828  E480                     asr        D0, 2
  4018. 0000282A  E088                     lsr        D0, 8
  4019. 0000282C  E088                     lsr        D0, 8
  4020. 0000282E  E088                     lsr        D0, 8
  4021. 00002830  EA88                     lsr        D0, 5
  4022. 00002832  D0A8 0008                add.l      D0, [A0 + 0x8]
  4023. 00002836  E680                     asr        D0, 3
  4024. 00002838  5280                     addq.l     D0, 1
  4025. 0000283A  2340 000C                move.l     [A1 + 0xC], D0
  4026. 0000283E  2028 000C                move.l     D0, [A0 + 0xC]
  4027. 00002842  E480                     asr        D0, 2
  4028. 00002844  E088                     lsr        D0, 8
  4029. 00002846  E088                     lsr        D0, 8
  4030. 00002848  E088                     lsr        D0, 8
  4031. 0000284A  EA88                     lsr        D0, 5
  4032. 0000284C  D0A8 000C                add.l      D0, [A0 + 0xC]
  4033. 00002850  E680                     asr        D0, 3
  4034. 00002852  5280                     addq.l     D0, 1
  4035. 00002854  2340 0010                move.l     [A1 + 0x10], D0
  4036. 00002858  4E75                     rts
  4037. fn0000285A:
  4038. 0000285A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  4039. 0000285E  594F                     subq.w     A7, 4
  4040. 00002860  2C6F 002C                movea.l    A6, [A7 + 0x2C]
  4041. 00002864  7800                     moveq.l    D4, 0x00
  4042. 00002866  95CA                     sub.l      A2, A2
  4043. 00002868  284E                     movea.l    A4, A6
  4044. 0000286A  49EC 002C                lea.l      A4, [A4 + 0x2C]
  4045. 0000286E  7E00                     moveq.l    D7, 0x00
  4046. 00002870  97CB                     sub.l      A3, A3
  4047. 00002872  7A00                     moveq.l    D5, 0x00
  4048. 00002874  3F3C 0001                move.w     -[A7], 0x1
  4049. 00002878  2F0E                     move.l     -[A7], A6
  4050. 0000287A  4EBA 068A                jsr        [PC + 0x68A /* 00002F06 */]
  4051. 0000287E  2C08                     move.l     D6, A0
  4052. 00002880  2448                     movea.l    A2, A0
  4053. 00002882  202C 001C                move.l     D0, [A4 + 0x1C]
  4054. 00002886  7218                     moveq.l    D1, 0x18
  4055. 00002888  4EAD D8F8                jsr        [A5 - 0x2708]
  4056. 0000288C  3600                     move.w     D3, D0
  4057. 0000288E  3043                     movea.w    A0, D3
  4058. 00002890  2F08                     move.l     -[A7], A0
  4059. 00002892  4EBA 3252                jsr        [PC + 0x3252 /* 00005AE6 */]
  4060. 00002896  2E08                     move.l     D7, A0
  4061. 00002898  4A87                     tst.l      D7
  4062. 0000289A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4063. 0000289E  6614                     bne        +0x16 /* 000028B4 */
  4064. 000028A0  4267                     clr.w      -[A7]
  4065. 000028A2  2F0E                     move.l     -[A7], A6
  4066. 000028A4  4EBA 0660                jsr        [PC + 0x660 /* 00002F06 */]
  4067. 000028A8  7001                     moveq.l    D0, 0x01
  4068. 000028AA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4069. 000028AE  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4070. 000028B2  4E75                     rts
  4071. label000028B4:
  4072. 000028B4  2F07                     move.l     -[A7], D7
  4073. 000028B6  4EBA 32A6                jsr        [PC + 0x32A6 /* 00005B5E */]
  4074. 000028BA  2648                     movea.l    A3, A0
  4075. 000028BC  2F2E 0028                move.l     -[A7], [A6 + 0x28]
  4076. 000028C0  4EBA 329C                jsr        [PC + 0x329C /* 00005B5E */]
  4077. 000028C4  2A08                     move.l     D5, A0
  4078. 000028C6  4267                     clr.w      -[A7]
  4079. 000028C8  202E 0006                move.l     D0, [A6 + 0x6]
  4080. 000028CC  D0AC 0048                add.l      D0, [A4 + 0x48]
  4081. 000028D0  2F00                     move.l     -[A7], D0
  4082. 000028D2  3F16                     move.w     -[A7], [A6]
  4083. 000028D4  4EAD ECF0                jsr        [A5 - 0x1310]
  4084. 000028D8  5280                     addq.l     D0, 1
  4085. 000028DA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4086. 000028DE  6606                     bne        +0x8 /* 000028E6 */
  4087. 000028E0  7803                     moveq.l    D4, 0x03
  4088. 000028E2  6000 00C6                bra        +0xC8 /* 000029AA */
  4089. label000028E6:
  4090. 000028E6  3003                     move.w     D0, D3
  4091. 000028E8  48C0                     ext.l      D0
  4092. 000028EA  2E80                     move.l     [A7], D0
  4093. 000028EC  3043                     movea.w    A0, D3
  4094. 000028EE  2F08                     move.l     -[A7], A0
  4095. 000028F0  2F0B                     move.l     -[A7], A3
  4096. 000028F2  3F16                     move.w     -[A7], [A6]
  4097. 000028F4  4EAD ECE8                jsr        [A5 - 0x1318]
  4098. 000028F8  B0AF 000A                cmp.l      D0, [A7 + 0xA]
  4099. 000028FC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4100. 00002900  6C06                     bge        +0x8 /* 00002908 */
  4101. 00002902  7804                     moveq.l    D4, 0x04
  4102. 00002904  6000 00A4                bra        +0xA6 /* 000029AA */
  4103. label00002908:
  4104. 00002908  7600                     moveq.l    D3, 0x00
  4105. 0000290A  6032                     bra        +0x34 /* 0000293E */
  4106. label0000290C:
  4107. 0000290C  3483                     move.w     [A2], D3
  4108. 0000290E  204B                     movea.l    A0, A3
  4109. 00002910  508B                     addq.l     A3, 8
  4110. 00002912  2550 003A                move.l     [A2 + 0x3A], [A0]
  4111. 00002916  2568 0004 003E           move.l     [A2 + 0x3E], [A0 + 0x4]
  4112. 0000291C  204B                     movea.l    A0, A3
  4113. 0000291E  508B                     addq.l     A3, 8
  4114. 00002920  2550 0042                move.l     [A2 + 0x42], [A0]
  4115. 00002924  2568 0004 0046           move.l     [A2 + 0x46], [A0 + 0x4]
  4116. 0000292A  204B                     movea.l    A0, A3
  4117. 0000292C  508B                     addq.l     A3, 8
  4118. 0000292E  2550 004A                move.l     [A2 + 0x4A], [A0]
  4119. 00002932  2568 0004 004E           move.l     [A2 + 0x4E], [A0 + 0x4]
  4120. 00002938  5243                     addq.w     D3, 1
  4121. 0000293A  7062                     moveq.l    D0, 0x62
  4122. 0000293C  D5C0                     add.l      A2, D0
  4123. label0000293E:
  4124. 0000293E  3003                     move.w     D0, D3
  4125. 00002940  48C0                     ext.l      D0
  4126. 00002942  B0AC 001C                cmp.l      D0, [A4 + 0x1C]
  4127. 00002946  6DC4                     blt        -0x3A /* 0000290C */
  4128. 00002948  4267                     clr.w      -[A7]
  4129. 0000294A  202E 0006                move.l     D0, [A6 + 0x6]
  4130. 0000294E  D0AC 0050                add.l      D0, [A4 + 0x50]
  4131. 00002952  2F00                     move.l     -[A7], D0
  4132. 00002954  3F16                     move.w     -[A7], [A6]
  4133. 00002956  4EAD ECF0                jsr        [A5 - 0x1310]
  4134. 0000295A  5280                     addq.l     D0, 1
  4135. 0000295C  504F                     addq.w     A7, 8
  4136. 0000295E  6604                     bne        +0x6 /* 00002964 */
  4137. 00002960  7803                     moveq.l    D4, 0x03
  4138. 00002962  6046                     bra        +0x48 /* 000029AA */
  4139. label00002964:
  4140. 00002964  2F2C 0054                move.l     -[A7], [A4 + 0x54]
  4141. 00002968  2F05                     move.l     -[A7], D5
  4142. 0000296A  3F16                     move.w     -[A7], [A6]
  4143. 0000296C  4EAD ECE8                jsr        [A5 - 0x1318]
  4144. 00002970  B0AC 0054                cmp.l      D0, [A4 + 0x54]
  4145. 00002974  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4146. 00002978  6C04                     bge        +0x6 /* 0000297E */
  4147. 0000297A  7804                     moveq.l    D4, 0x04
  4148. 0000297C  602C                     bra        +0x2E /* 000029AA */
  4149. label0000297E:
  4150. 0000297E  362C 0056                move.w     D3, [A4 + 0x56]
  4151. 00002982  2446                     movea.l    A2, D6
  4152. 00002984  7600                     moveq.l    D3, 0x00
  4153. 00002986  6018                     bra        +0x1A /* 000029A0 */
  4154. label00002988:
  4155. 00002988  264A                     movea.l    A3, A2
  4156. 0000298A  47EB 003A                lea.l      A3, [A3 + 0x3A]
  4157. 0000298E  264A                     movea.l    A3, A2
  4158. 00002990  47EB 0042                lea.l      A3, [A3 + 0x42]
  4159. 00002994  264A                     movea.l    A3, A2
  4160. 00002996  47EB 004A                lea.l      A3, [A3 + 0x4A]
  4161. 0000299A  5243                     addq.w     D3, 1
  4162. 0000299C  7062                     moveq.l    D0, 0x62
  4163. 0000299E  D5C0                     add.l      A2, D0
  4164. label000029A0:
  4165. 000029A0  3003                     move.w     D0, D3
  4166. 000029A2  48C0                     ext.l      D0
  4167. 000029A4  B0AC 001C                cmp.l      D0, [A4 + 0x1C]
  4168. 000029A8  6DDE                     blt        -0x20 /* 00002988 */
  4169. label000029AA:
  4170. 000029AA  4267                     clr.w      -[A7]
  4171. 000029AC  2F0E                     move.l     -[A7], A6
  4172. 000029AE  4EBA 0556                jsr        [PC + 0x556 /* 00002F06 */]
  4173. 000029B2  2F07                     move.l     -[A7], D7
  4174. 000029B4  4EBA 31CE                jsr        [PC + 0x31CE /* 00005B84 */]
  4175. 000029B8  2F07                     move.l     -[A7], D7
  4176. 000029BA  4EBA 3186                jsr        [PC + 0x3186 /* 00005B42 */]
  4177. 000029BE  2F2E 0028                move.l     -[A7], [A6 + 0x28]
  4178. 000029C2  4EBA 31C0                jsr        [PC + 0x31C0 /* 00005B84 */]
  4179. 000029C6  3004                     move.w     D0, D4
  4180. 000029C8  4FEF 0016                lea.l      A7, [A7 + 0x16]
  4181. 000029CC  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4182. 000029D0  4E75                     rts
  4183. fn000029D2:
  4184. 000029D2  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  4185. 000029D6  4FEF FFCA                lea.l      A7, [A7 - 0x36]
  4186. 000029DA  286F 0056                movea.l    A4, [A7 + 0x56]
  4187. 000029DE  2C6F 005A                movea.l    A6, [A7 + 0x5A]
  4188. 000029E2  7800                     moveq.l    D4, 0x00
  4189. 000029E4  3A2C 004A                move.w     D5, [A4 + 0x4A]
  4190. 000029E8  41ED A400                lea.l      A0, [A5 - 0x5C00]
  4191. 000029EC  43D7                     lea.l      A1, [A7]
  4192. 000029EE  700C                     moveq.l    D0, 0x0C
  4193. label000029F0:
  4194. 000029F0  22D8                     move.l     [A1]+, [A0]+
  4195. 000029F2  51C8 FFFC                dbf        D0, -0x6 /* 000029F0 */
  4196. 000029F6  32D8                     move.w     [A1]+, [A0]+
  4197. 000029F8  97CB                     sub.l      A3, A3
  4198. 000029FA  200E                     move.l     D0, A6
  4199. 000029FC  660C                     bne        +0xE /* 00002A0A */
  4200. 000029FE  7000                     moveq.l    D0, 0x00
  4201. 00002A00  4FEF 0036                lea.l      A7, [A7 + 0x36]
  4202. 00002A04  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  4203. 00002A08  4E75                     rts
  4204. label00002A0A:
  4205. 00002A0A  3F3C 0001                move.w     -[A7], 0x1
  4206. 00002A0E  2F0C                     move.l     -[A7], A4
  4207. 00002A10  4EBA 04F4                jsr        [PC + 0x4F4 /* 00002F06 */]
  4208. 00002A14  2448                     movea.l    A2, A0
  4209. 00002A16  2F2C 0028                move.l     -[A7], [A4 + 0x28]
  4210. 00002A1A  4EBA 3142                jsr        [PC + 0x3142 /* 00005B5E */]
  4211. 00002A1E  2648                     movea.l    A3, A0
  4212. 00002A20  7600                     moveq.l    D3, 0x00
  4213. 00002A22  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4214. 00002A26  6000 009A                bra        +0x9C /* 00002AC2 */
  4215. label00002A2A:
  4216. 00002A2A  4878 0036                push.l     0x36 /* '6' */
  4217. 00002A2E  42A7                     clr.l      -[A7]
  4218. 00002A30  486F 0008                pea.l      [A7 + 0x8]
  4219. 00002A34  4EAD D94C                jsr        [A5 - 0x26B4]
  4220. 00002A38  3F43 000C                move.w     [A7 + 0xC], D3
  4221. 00002A3C  4AAA 003E                tst.l      [A2 + 0x3E]
  4222. 00002A40  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4223. 00002A44  670C                     beq        +0xE /* 00002A52 */
  4224. 00002A46  204B                     movea.l    A0, A3
  4225. 00002A48  D1EA 003A                add.l      A0, [A2 + 0x3A]
  4226. 00002A4C  2F48 0002                move.l     [A7 + 0x2], A0
  4227. 00002A50  6004                     bra        +0x6 /* 00002A56 */
  4228. label00002A52:
  4229. 00002A52  42AF 0002                clr.l      [A7 + 0x2]
  4230. label00002A56:
  4231. 00002A56  4AAA 0046                tst.l      [A2 + 0x46]
  4232. 00002A5A  670C                     beq        +0xE /* 00002A68 */
  4233. 00002A5C  204B                     movea.l    A0, A3
  4234. 00002A5E  D1EA 0042                add.l      A0, [A2 + 0x42]
  4235. 00002A62  2F48 0006                move.l     [A7 + 0x6], A0
  4236. 00002A66  6004                     bra        +0x6 /* 00002A6C */
  4237. label00002A68:
  4238. 00002A68  42AF 0006                clr.l      [A7 + 0x6]
  4239. label00002A6C:
  4240. 00002A6C  4AAA 0046                tst.l      [A2 + 0x46]
  4241. 00002A70  670C                     beq        +0xE /* 00002A7E */
  4242. 00002A72  204B                     movea.l    A0, A3
  4243. 00002A74  D1EA 004A                add.l      A0, [A2 + 0x4A]
  4244. 00002A78  2F48 000A                move.l     [A7 + 0xA], A0
  4245. 00002A7C  6004                     bra        +0x6 /* 00002A82 */
  4246. label00002A7E:
  4247. 00002A7E  42AF 000A                clr.l      [A7 + 0xA]
  4248. label00002A82:
  4249. 00002A82  4857                     pea.l      [A7]
  4250. 00002A84  2F2C 05C2                move.l     -[A7], [A4 + 0x5C2]
  4251. 00002A88  4E96                     jsr        [A6]
  4252. 00002A8A  3800                     move.w     D4, D0
  4253. 00002A8C  504F                     addq.w     A7, 8
  4254. 00002A8E  6638                     bne        +0x3A /* 00002AC8 */
  4255. 00002A90  4AAF 0016                tst.l      [A7 + 0x16]
  4256. 00002A94  670C                     beq        +0xE /* 00002AA2 */
  4257. 00002A96  4AAF 001A                tst.l      [A7 + 0x1A]
  4258. 00002A9A  6706                     beq        +0x8 /* 00002AA2 */
  4259. 00002A9C  4AAF 001E                tst.l      [A7 + 0x1E]
  4260. 00002AA0  6604                     bne        +0x6 /* 00002AA6 */
  4261. label00002AA2:
  4262. 00002AA2  7814                     moveq.l    D4, 0x14
  4263. 00002AA4  6022                     bra        +0x24 /* 00002AC8 */
  4264. label00002AA6:
  4265. 00002AA6  41EF 000E                lea.l      A0, [A7 + 0xE]
  4266. 00002AAA  43EA 0016                lea.l      A1, [A2 + 0x16]
  4267. 00002AAE  7008                     moveq.l    D0, 0x08
  4268. label00002AB0:
  4269. 00002AB0  22D8                     move.l     [A1]+, [A0]+
  4270. 00002AB2  51C8 FFFC                dbf        D0, -0x6 /* 00002AB0 */
  4271. 00002AB6  256F 0032 005E           move.l     [A2 + 0x5E], [A7 + 0x32]
  4272. 00002ABC  5243                     addq.w     D3, 1
  4273. 00002ABE  7062                     moveq.l    D0, 0x62
  4274. 00002AC0  D5C0                     add.l      A2, D0
  4275. label00002AC2:
  4276. 00002AC2  B645                     cmp.w      D3, D5
  4277. 00002AC4  6D00 FF64                blt        -0x9A /* 00002A2A */
  4278. label00002AC8:
  4279. 00002AC8  2F2C 0028                move.l     -[A7], [A4 + 0x28]
  4280. 00002ACC  4EBA 30B6                jsr        [PC + 0x30B6 /* 00005B84 */]
  4281. 00002AD0  4267                     clr.w      -[A7]
  4282. 00002AD2  2F0C                     move.l     -[A7], A4
  4283. 00002AD4  4EBA 0430                jsr        [PC + 0x430 /* 00002F06 */]
  4284. 00002AD8  3004                     move.w     D0, D4
  4285. 00002ADA  4FEF 0040                lea.l      A7, [A7 + 0x40]
  4286. 00002ADE  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  4287. 00002AE2  4E75                     rts
  4288. fn00002AE4:
  4289. 00002AE4  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  4290. 00002AE8  4FEF FFCA                lea.l      A7, [A7 - 0x36]
  4291. 00002AEC  266F 004E                movea.l    A3, [A7 + 0x4E]
  4292. 00002AF0  7800                     moveq.l    D4, 0x00
  4293. 00002AF2  3A2B 004A                move.w     D5, [A3 + 0x4A]
  4294. 00002AF6  41ED A3CA                lea.l      A0, [A5 - 0x5C36]
  4295. 00002AFA  43D7                     lea.l      A1, [A7]
  4296. 00002AFC  700C                     moveq.l    D0, 0x0C
  4297. label00002AFE:
  4298. 00002AFE  22D8                     move.l     [A1]+, [A0]+
  4299. 00002B00  51C8 FFFC                dbf        D0, -0x6 /* 00002AFE */
  4300. 00002B04  32D8                     move.w     [A1]+, [A0]+
  4301. 00002B06  3F3C 0001                move.w     -[A7], 0x1
  4302. 00002B0A  2F0B                     move.l     -[A7], A3
  4303. 00002B0C  4EBA 03F8                jsr        [PC + 0x3F8 /* 00002F06 */]
  4304. 00002B10  2448                     movea.l    A2, A0
  4305. 00002B12  7600                     moveq.l    D3, 0x00
  4306. 00002B14  5C4F                     addq.w     A7, 6
  4307. 00002B16  6016                     bra        +0x18 /* 00002B2E */
  4308. label00002B18:
  4309. 00002B18  4AAA 0016                tst.l      [A2 + 0x16]
  4310. 00002B1C  670A                     beq        +0xC /* 00002B28 */
  4311. 00002B1E  206A 0016                movea.l    A0, [A2 + 0x16]
  4312. 00002B22  4E90                     jsr        [A0]
  4313. 00002B24  3800                     move.w     D4, D0
  4314. 00002B26  660A                     bne        +0xC /* 00002B32 */
  4315. label00002B28:
  4316. 00002B28  5243                     addq.w     D3, 1
  4317. 00002B2A  7062                     moveq.l    D0, 0x62
  4318. 00002B2C  D5C0                     add.l      A2, D0
  4319. label00002B2E:
  4320. 00002B2E  B645                     cmp.w      D3, D5
  4321. 00002B30  6DE6                     blt        -0x18 /* 00002B18 */
  4322. label00002B32:
  4323. 00002B32  4267                     clr.w      -[A7]
  4324. 00002B34  2F0B                     move.l     -[A7], A3
  4325. 00002B36  4EBA 03CE                jsr        [PC + 0x3CE /* 00002F06 */]
  4326. 00002B3A  3004                     move.w     D0, D4
  4327. 00002B3C  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  4328. 00002B40  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  4329. 00002B44  4E75                     rts
  4330. fn00002B46:
  4331. 00002B46  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  4332. 00002B4A  4FEF FFCA                lea.l      A7, [A7 - 0x36]
  4333. 00002B4E  266F 004E                movea.l    A3, [A7 + 0x4E]
  4334. 00002B52  7800                     moveq.l    D4, 0x00
  4335. 00002B54  3A2B 004A                move.w     D5, [A3 + 0x4A]
  4336. 00002B58  41ED A394                lea.l      A0, [A5 - 0x5C6C]
  4337. 00002B5C  43D7                     lea.l      A1, [A7]
  4338. 00002B5E  700C                     moveq.l    D0, 0x0C
  4339. label00002B60:
  4340. 00002B60  22D8                     move.l     [A1]+, [A0]+
  4341. 00002B62  51C8 FFFC                dbf        D0, -0x6 /* 00002B60 */
  4342. 00002B66  32D8                     move.w     [A1]+, [A0]+
  4343. 00002B68  3F3C 0001                move.w     -[A7], 0x1
  4344. 00002B6C  2F0B                     move.l     -[A7], A3
  4345. 00002B6E  4EBA 0396                jsr        [PC + 0x396 /* 00002F06 */]
  4346. 00002B72  2448                     movea.l    A2, A0
  4347. 00002B74  7600                     moveq.l    D3, 0x00
  4348. 00002B76  5C4F                     addq.w     A7, 6
  4349. 00002B78  6032                     bra        +0x34 /* 00002BAC */
  4350. label00002B7A:
  4351. 00002B7A  3E83                     move.w     [A7], D3
  4352. 00002B7C  2F6A 005E 0032           move.l     [A7 + 0x32], [A2 + 0x5E]
  4353. 00002B82  4AAA 001A                tst.l      [A2 + 0x1A]
  4354. 00002B86  670A                     beq        +0xC /* 00002B92 */
  4355. 00002B88  206A 001A                movea.l    A0, [A2 + 0x1A]
  4356. 00002B8C  4E90                     jsr        [A0]
  4357. 00002B8E  3800                     move.w     D4, D0
  4358. 00002B90  661E                     bne        +0x20 /* 00002BB0 */
  4359. label00002B92:
  4360. 00002B92  4AAB 05BE                tst.l      [A3 + 0x5BE]
  4361. 00002B96  670E                     beq        +0x10 /* 00002BA6 */
  4362. 00002B98  4857                     pea.l      [A7]
  4363. 00002B9A  2F2B 05C2                move.l     -[A7], [A3 + 0x5C2]
  4364. 00002B9E  206B 05BE                movea.l    A0, [A3 + 0x5BE]
  4365. 00002BA2  4E90                     jsr        [A0]
  4366. 00002BA4  504F                     addq.w     A7, 8
  4367. label00002BA6:
  4368. 00002BA6  5243                     addq.w     D3, 1
  4369. 00002BA8  7062                     moveq.l    D0, 0x62
  4370. 00002BAA  D5C0                     add.l      A2, D0
  4371. label00002BAC:
  4372. 00002BAC  B645                     cmp.w      D3, D5
  4373. 00002BAE  6DCA                     blt        -0x34 /* 00002B7A */
  4374. label00002BB0:
  4375. 00002BB0  4267                     clr.w      -[A7]
  4376. 00002BB2  2F0B                     move.l     -[A7], A3
  4377. 00002BB4  4EBA 0350                jsr        [PC + 0x350 /* 00002F06 */]
  4378. 00002BB8  3004                     move.w     D0, D4
  4379. 00002BBA  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  4380. 00002BBE  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  4381. 00002BC2  4E75                     rts
  4382. fn00002BC4:
  4383. 00002BC4  206F 0008                movea.l    A0, [A7 + 0x8]
  4384. 00002BC8  226F 0004                movea.l    A1, [A7 + 0x4]
  4385. 00002BCC  43E9 002C                lea.l      A1, [A1 + 0x2C]
  4386. 00002BD0  7200                     moveq.l    D1, 0x00
  4387. 00002BD2  6010                     bra        +0x12 /* 00002BE4 */
  4388. label00002BD4:
  4389. 00002BD4  4AA8 0004                tst.l      [A0 + 0x4]
  4390. 00002BD8  6704                     beq        +0x6 /* 00002BDE */
  4391. 00002BDA  7001                     moveq.l    D0, 0x01
  4392. 00002BDC  4E75                     rts
  4393. label00002BDE:
  4394. 00002BDE  5241                     addq.w     D1, 1
  4395. 00002BE0  700C                     moveq.l    D0, 0x0C
  4396. 00002BE2  D1C0                     add.l      A0, D0
  4397. label00002BE4:
  4398. 00002BE4  3001                     move.w     D0, D1
  4399. 00002BE6  48C0                     ext.l      D0
  4400. 00002BE8  B0A9 001C                cmp.l      D0, [A1 + 0x1C]
  4401. 00002BEC  6DE6                     blt        -0x18 /* 00002BD4 */
  4402. 00002BEE  7000                     moveq.l    D0, 0x00
  4403. 00002BF0  4E75                     rts
  4404. fn00002BF2:
  4405. 00002BF2  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  4406. 00002BF6  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  4407. 00002BFA  2E2F 003C                move.l     D7, [A7 + 0x3C]
  4408. 00002BFE  2C6F 0040                movea.l    A6, [A7 + 0x40]
  4409. 00002C02  2447                     movea.l    A2, D7
  4410. 00002C04  45EA 002C                lea.l      A2, [A2 + 0x2C]
  4411. 00002C08  99CC                     sub.l      A4, A4
  4412. 00002C0A  7800                     moveq.l    D4, 0x00
  4413. 00002C0C  42AF 000E                clr.l      [A7 + 0xE]
  4414. 00002C10  95CA                     sub.l      A2, A2
  4415. 00002C12  42AF 000A                clr.l      [A7 + 0xA]
  4416. 00002C16  97CB                     sub.l      A3, A3
  4417. 00002C18  7C00                     moveq.l    D6, 0x00
  4418. 00002C1A  2047                     movea.l    A0, D7
  4419. 00002C1C  3EA8 004A                move.w     [A7], [A0 + 0x4A]
  4420. 00002C20  426F 0012                clr.w      [A7 + 0x12]
  4421. 00002C24  2F0E                     move.l     -[A7], A6
  4422. 00002C26  2F07                     move.l     -[A7], D7
  4423. 00002C28  4EBA FF9A                jsr        [PC - 0x66 /* 00002BC4 */]
  4424. 00002C2C  4A40                     tst.w      D0
  4425. 00002C2E  504F                     addq.w     A7, 8
  4426. 00002C30  660C                     bne        +0xE /* 00002C3E */
  4427. 00002C32  7000                     moveq.l    D0, 0x00
  4428. 00002C34  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4429. 00002C38  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4430. 00002C3C  4E75                     rts
  4431. label00002C3E:
  4432. 00002C3E  2F7C 0000 2710 0006      move.l     [A7 + 0x6], 0x2710
  4433. 00002C46  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  4434. 00002C4A  4EBA 2EBE                jsr        [PC + 0x2EBE /* 00005B0A */]
  4435. 00002C4E  2F48 0012                move.l     [A7 + 0x12], A0
  4436. 00002C52  2008                     move.l     D0, A0
  4437. 00002C54  584F                     addq.w     A7, 4
  4438. 00002C56  660C                     bne        +0xE /* 00002C64 */
  4439. 00002C58  7001                     moveq.l    D0, 0x01
  4440. 00002C5A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4441. 00002C5E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4442. 00002C62  4E75                     rts
  4443. label00002C64:
  4444. 00002C64  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4445. 00002C68  4EBA 2EF4                jsr        [PC + 0x2EF4 /* 00005B5E */]
  4446. 00002C6C  2F48 000E                move.l     [A7 + 0xE], A0
  4447. 00002C70  3F3C 0001                move.w     -[A7], 0x1
  4448. 00002C74  2F07                     move.l     -[A7], D7
  4449. 00002C76  4EBA 028E                jsr        [PC + 0x28E /* 00002F06 */]
  4450. 00002C7A  2608                     move.l     D3, A0
  4451. 00002C7C  42AF 000C                clr.l      [A7 + 0xC]
  4452. 00002C80  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4453. 00002C84  6000 01A8                bra        +0x1AA /* 00002E2E */
  4454. label00002C88:
  4455. 00002C88  4AAE 0004                tst.l      [A6 + 0x4]
  4456. 00002C8C  6700 0194                beq        +0x196 /* 00002E22 */
  4457. 00002C90  202E 0004                move.l     D0, [A6 + 0x4]
  4458. 00002C94  B0AF 0006                cmp.l      D0, [A7 + 0x6]
  4459. 00002C98  6F42                     ble        +0x44 /* 00002CDC */
  4460. 00002C9A  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4461. 00002C9E  4EBA 2EE4                jsr        [PC + 0x2EE4 /* 00005B84 */]
  4462. 00002CA2  42AF 000E                clr.l      [A7 + 0xE]
  4463. 00002CA6  2F2E 0004                move.l     -[A7], [A6 + 0x4]
  4464. 00002CAA  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4465. 00002CAE  4EBA 2EF0                jsr        [PC + 0x2EF0 /* 00005BA0 */]
  4466. 00002CB2  4EBA 2E2C                jsr        [PC + 0x2E2C /* 00005AE0 */]
  4467. 00002CB6  4A40                     tst.w      D0
  4468. 00002CB8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4469. 00002CBC  670A                     beq        +0xC /* 00002CC8 */
  4470. 00002CBE  3F7C 0001 0012           move.w     [A7 + 0x12], 0x1
  4471. 00002CC4  6000 0174                bra        +0x176 /* 00002E3A */
  4472. label00002CC8:
  4473. 00002CC8  2F6E 0004 0006           move.l     [A7 + 0x6], [A6 + 0x4]
  4474. 00002CCE  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4475. 00002CD2  4EBA 2E8A                jsr        [PC + 0x2E8A /* 00005B5E */]
  4476. 00002CD6  2F48 000E                move.l     [A7 + 0xE], A0
  4477. 00002CDA  584F                     addq.w     A7, 4
  4478. label00002CDC:
  4479. 00002CDC  246F 000A                movea.l    A2, [A7 + 0xA]
  4480. 00002CE0  2F2E 0004                move.l     -[A7], [A6 + 0x4]
  4481. 00002CE4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4482. 00002CE8  2F07                     move.l     -[A7], D7
  4483. 00002CEA  4EBA FB0C                jsr        [PC - 0x4F4 /* 000027F8 */]
  4484. 00002CEE  2A00                     move.l     D5, D0
  4485. 00002CF0  2F05                     move.l     -[A7], D5
  4486. 00002CF2  4EBA 2DF2                jsr        [PC + 0x2DF2 /* 00005AE6 */]
  4487. 00002CF6  2243                     movea.l    A1, D3
  4488. 00002CF8  2348 0002                move.l     [A1 + 0x2], A0
  4489. 00002CFC  2043                     movea.l    A0, D3
  4490. 00002CFE  4AA8 0002                tst.l      [A0 + 0x2]
  4491. 00002D02  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4492. 00002D06  660A                     bne        +0xC /* 00002D12 */
  4493. 00002D08  3F7C 0001 0012           move.w     [A7 + 0x12], 0x1
  4494. 00002D0E  6000 012A                bra        +0x12C /* 00002E3A */
  4495. label00002D12:
  4496. 00002D12  2F28 0002                move.l     -[A7], [A0 + 0x2]
  4497. 00002D16  4EBA 2E46                jsr        [PC + 0x2E46 /* 00005B5E */]
  4498. 00002D1A  2243                     movea.l    A1, D3
  4499. 00002D1C  2348 0006                move.l     [A1 + 0x6], A0
  4500. 00002D20  2043                     movea.l    A0, D3
  4501. 00002D22  2145 000A                move.l     [A0 + 0xA], D5
  4502. 00002D26  7010                     moveq.l    D0, 0x10
  4503. 00002D28  2140 000E                move.l     [A0 + 0xE], D0
  4504. 00002D2C  216E 0008 0012           move.l     [A0 + 0x12], [A6 + 0x8]
  4505. 00002D32  4267                     clr.w      -[A7]
  4506. 00002D34  2047                     movea.l    A0, D7
  4507. 00002D36  2028 0006                move.l     D0, [A0 + 0x6]
  4508. 00002D3A  D096                     add.l      D0, [A6]
  4509. 00002D3C  2F00                     move.l     -[A7], D0
  4510. 00002D3E  3F10                     move.w     -[A7], [A0]
  4511. 00002D40  4EAD ECF0                jsr        [A5 - 0x1310]
  4512. 00002D44  5280                     addq.l     D0, 1
  4513. 00002D46  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4514. 00002D4A  661C                     bne        +0x1E /* 00002D68 */
  4515. 00002D4C  3F7C 0003 0012           move.w     [A7 + 0x12], 0x3
  4516. label00002D52:
  4517. 00002D52  2043                     movea.l    A0, D3
  4518. 00002D54  2F28 0002                move.l     -[A7], [A0 + 0x2]
  4519. 00002D58  4EBA 2E2A                jsr        [PC + 0x2E2A /* 00005B84 */]
  4520. 00002D5C  2043                     movea.l    A0, D3
  4521. 00002D5E  42A8 0006                clr.l      [A0 + 0x6]
  4522. 00002D62  584F                     addq.w     A7, 4
  4523. 00002D64  6000 00D4                bra        +0xD6 /* 00002E3A */
  4524. label00002D68:
  4525. 00002D68  2F2E 0004                move.l     -[A7], [A6 + 0x4]
  4526. 00002D6C  2F0A                     move.l     -[A7], A2
  4527. 00002D6E  2047                     movea.l    A0, D7
  4528. 00002D70  3F10                     move.w     -[A7], [A0]
  4529. 00002D72  4EAD ECE8                jsr        [A5 - 0x1318]
  4530. 00002D76  B0AE 0004                cmp.l      D0, [A6 + 0x4]
  4531. 00002D7A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4532. 00002D7E  6C08                     bge        +0xA /* 00002D88 */
  4533. 00002D80  3F7C 0004 0012           move.w     [A7 + 0x12], 0x4
  4534. 00002D86  60CA                     bra        -0x34 /* 00002D52 */
  4535. label00002D88:
  4536. 00002D88  2043                     movea.l    A0, D3
  4537. 00002D8A  2643                     movea.l    A3, D3
  4538. 00002D8C  266B 0006                movea.l    A3, [A3 + 0x6]
  4539. 00002D90  D7E8 000E                add.l      A3, [A0 + 0xE]
  4540. 00002D94  2C0B                     move.l     D6, A3
  4541. 00002D96  7A00                     moveq.l    D5, 0x00
  4542. 00002D98  6046                     bra        +0x48 /* 00002DE0 */
  4543. label00002D9A:
  4544. 00002D9A  284B                     movea.l    A4, A3
  4545. 00002D9C  429C                     clr.l      [A4]+
  4546. 00002D9E  204C                     movea.l    A0, A4
  4547. 00002DA0  588C                     addq.l     A4, 4
  4548. 00002DA2  2808                     move.l     D4, A0
  4549. 00002DA4  264C                     movea.l    A3, A4
  4550. 00002DA6  16D2                     move.b     [A3]+, [A2]
  4551. 00002DA8  204B                     movea.l    A0, A3
  4552. 00002DAA  43EA 0001                lea.l      A1, [A2 + 0x1]
  4553. 00002DAE  1212                     move.b     D1, [A2]
  4554. 00002DB0  4881                     ext.w      D1
  4555. 00002DB2  48C1                     ext.l      D1
  4556. 00002DB4  2008                     move.l     D0, A0
  4557. 00002DB6  4A81                     tst.l      D1
  4558. 00002DB8  6706                     beq        +0x8 /* 00002DC0 */
  4559. label00002DBA:
  4560. 00002DBA  10D9                     move.b     [A0]+, [A1]+
  4561. 00002DBC  5381                     subq.l     D1, 1
  4562. 00002DBE  66FA                     bne        -0x4 /* 00002DBA */
  4563. label00002DC0:
  4564. 00002DC0  1012                     move.b     D0, [A2]
  4565. 00002DC2  4880                     ext.w      D0
  4566. 00002DC4  48C0                     ext.l      D0
  4567. 00002DC6  D7C0                     add.l      A3, D0
  4568. 00002DC8  204B                     movea.l    A0, A3
  4569. 00002DCA  91C6                     sub.l      A0, D6
  4570. 00002DCC  5088                     addq.l     A0, 8
  4571. 00002DCE  5088                     addq.l     A0, 8
  4572. 00002DD0  2244                     movea.l    A1, D4
  4573. 00002DD2  2288                     move.l     [A1], A0
  4574. 00002DD4  1012                     move.b     D0, [A2]
  4575. 00002DD6  4880                     ext.w      D0
  4576. 00002DD8  48C0                     ext.l      D0
  4577. 00002DDA  5280                     addq.l     D0, 1
  4578. 00002DDC  D5C0                     add.l      A2, D0
  4579. 00002DDE  5285                     addq.l     D5, 1
  4580. label00002DE0:
  4581. 00002DE0  BAAE 0008                cmp.l      D5, [A6 + 0x8]
  4582. 00002DE4  6DB4                     blt        -0x4A /* 00002D9A */
  4583. 00002DE6  2044                     movea.l    A0, D4
  4584. 00002DE8  4290                     clr.l      [A0]
  4585. 00002DEA  2043                     movea.l    A0, D3
  4586. 00002DEC  2247                     movea.l    A1, D7
  4587. 00002DEE  2368 0006 0348           move.l     [A1 + 0x348], [A0 + 0x6]
  4588. 00002DF4  2F28 0012                move.l     -[A7], [A0 + 0x12]
  4589. 00002DF8  2F28 000E                move.l     -[A7], [A0 + 0xE]
  4590. 00002DFC  2F07                     move.l     -[A7], D7
  4591. 00002DFE  4EBA F490                jsr        [PC - 0xB70 /* 00002290 */]
  4592. 00002E02  2043                     movea.l    A0, D3
  4593. 00002E04  2140 000E                move.l     [A0 + 0xE], D0
  4594. 00002E08  2047                     movea.l    A0, D7
  4595. 00002E0A  42A8 0348                clr.l      [A0 + 0x348]
  4596. 00002E0E  2043                     movea.l    A0, D3
  4597. 00002E10  2F28 0002                move.l     -[A7], [A0 + 0x2]
  4598. 00002E14  4EBA 2D6E                jsr        [PC + 0x2D6E /* 00005B84 */]
  4599. 00002E18  2043                     movea.l    A0, D3
  4600. 00002E1A  42A8 0006                clr.l      [A0 + 0x6]
  4601. 00002E1E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4602. label00002E22:
  4603. 00002E22  52AF 0002                addq.l     [A7 + 0x2], 1
  4604. 00002E26  7062                     moveq.l    D0, 0x62
  4605. 00002E28  D680                     add.l      D3, D0
  4606. 00002E2A  700C                     moveq.l    D0, 0x0C
  4607. 00002E2C  DDC0                     add.l      A6, D0
  4608. label00002E2E:
  4609. 00002E2E  3017                     move.w     D0, [A7]
  4610. 00002E30  48C0                     ext.l      D0
  4611. 00002E32  B0AF 0002                cmp.l      D0, [A7 + 0x2]
  4612. 00002E36  6E00 FE50                bgt        -0x1AE /* 00002C88 */
  4613. label00002E3A:
  4614. 00002E3A  4267                     clr.w      -[A7]
  4615. 00002E3C  2F07                     move.l     -[A7], D7
  4616. 00002E3E  4EBA 00C6                jsr        [PC + 0xC6 /* 00002F06 */]
  4617. 00002E42  4AAF 0010                tst.l      [A7 + 0x10]
  4618. 00002E46  5C4F                     addq.w     A7, 6
  4619. 00002E48  670A                     beq        +0xC /* 00002E54 */
  4620. 00002E4A  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4621. 00002E4E  4EBA 2D34                jsr        [PC + 0x2D34 /* 00005B84 */]
  4622. 00002E52  584F                     addq.w     A7, 4
  4623. label00002E54:
  4624. 00002E54  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  4625. 00002E58  4EBA 2CE8                jsr        [PC + 0x2CE8 /* 00005B42 */]
  4626. 00002E5C  302F 0016                move.w     D0, [A7 + 0x16]
  4627. 00002E60  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4628. 00002E64  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  4629. 00002E68  4E75                     rts
  4630. fn00002E6A:
  4631. 00002E6A  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  4632. 00002E6E  286F 0014                movea.l    A4, [A7 + 0x14]
  4633. 00002E72  264C                     movea.l    A3, A4
  4634. 00002E74  47EB 002C                lea.l      A3, [A3 + 0x2C]
  4635. 00002E78  3F3C 0001                move.w     -[A7], 0x1
  4636. 00002E7C  2F0C                     move.l     -[A7], A4
  4637. 00002E7E  4EBA 0086                jsr        [PC + 0x86 /* 00002F06 */]
  4638. 00002E82  2448                     movea.l    A2, A0
  4639. 00002E84  7600                     moveq.l    D3, 0x00
  4640. 00002E86  5C4F                     addq.w     A7, 6
  4641. 00002E88  6066                     bra        +0x68 /* 00002EF0 */
  4642. label00002E8A:
  4643. 00002E8A  4AAA 0002                tst.l      [A2 + 0x2]
  4644. 00002E8E  672A                     beq        +0x2C /* 00002EBA */
  4645. 00002E90  4AAA 0006                tst.l      [A2 + 0x6]
  4646. 00002E94  670A                     beq        +0xC /* 00002EA0 */
  4647. 00002E96  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  4648. 00002E9A  4EBA 2CE8                jsr        [PC + 0x2CE8 /* 00005B84 */]
  4649. 00002E9E  584F                     addq.w     A7, 4
  4650. label00002EA0:
  4651. 00002EA0  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  4652. 00002EA4  4EBA 2C9C                jsr        [PC + 0x2C9C /* 00005B42 */]
  4653. 00002EA8  4878 0014                push.l     0x14
  4654. 00002EAC  42A7                     clr.l      -[A7]
  4655. 00002EAE  486A 0002                pea.l      [A2 + 0x2]
  4656. 00002EB2  4EAD D94C                jsr        [A5 - 0x26B4]
  4657. 00002EB6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4658. label00002EBA:
  4659. 00002EBA  4AAA 0052                tst.l      [A2 + 0x52]
  4660. 00002EBE  672A                     beq        +0x2C /* 00002EEA */
  4661. 00002EC0  4AAA 0056                tst.l      [A2 + 0x56]
  4662. 00002EC4  670A                     beq        +0xC /* 00002ED0 */
  4663. 00002EC6  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  4664. 00002ECA  4EBA 2CB8                jsr        [PC + 0x2CB8 /* 00005B84 */]
  4665. 00002ECE  584F                     addq.w     A7, 4
  4666. label00002ED0:
  4667. 00002ED0  2F2A 0052                move.l     -[A7], [A2 + 0x52]
  4668. 00002ED4  4EBA 2C6C                jsr        [PC + 0x2C6C /* 00005B42 */]
  4669. 00002ED8  4878 000C                push.l     0xC
  4670. 00002EDC  42A7                     clr.l      -[A7]
  4671. 00002EDE  486A 0052                pea.l      [A2 + 0x52]
  4672. 00002EE2  4EAD D94C                jsr        [A5 - 0x26B4]
  4673. 00002EE6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4674. label00002EEA:
  4675. 00002EEA  5283                     addq.l     D3, 1
  4676. 00002EEC  7062                     moveq.l    D0, 0x62
  4677. 00002EEE  D5C0                     add.l      A2, D0
  4678. label00002EF0:
  4679. 00002EF0  B6AB 001C                cmp.l      D3, [A3 + 0x1C]
  4680. 00002EF4  6D94                     blt        -0x6A /* 00002E8A */
  4681. 00002EF6  4267                     clr.w      -[A7]
  4682. 00002EF8  2F0C                     move.l     -[A7], A4
  4683. 00002EFA  4EBA 000A                jsr        [PC + 0xA /* 00002F06 */]
  4684. 00002EFE  5C4F                     addq.w     A7, 6
  4685. 00002F00  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4686. 00002F04  4E75                     rts
  4687. fn00002F06:
  4688. 00002F06  2F0A                     move.l     -[A7], A2
  4689. 00002F08  246F 0008                movea.l    A2, [A7 + 0x8]
  4690. 00002F0C  4A6F 000C                tst.w      [A7 + 0xC]
  4691. 00002F10  6716                     beq        +0x18 /* 00002F28 */
  4692. 00002F12  4AAA 0344                tst.l      [A2 + 0x344]
  4693. 00002F16  6624                     bne        +0x26 /* 00002F3C */
  4694. 00002F18  2F2A 0340                move.l     -[A7], [A2 + 0x340]
  4695. 00002F1C  4EBA 2C40                jsr        [PC + 0x2C40 /* 00005B5E */]
  4696. 00002F20  2548 0344                move.l     [A2 + 0x344], A0
  4697. 00002F24  584F                     addq.w     A7, 4
  4698. 00002F26  6014                     bra        +0x16 /* 00002F3C */
  4699. label00002F28:
  4700. 00002F28  4AAA 0344                tst.l      [A2 + 0x344]
  4701. 00002F2C  670E                     beq        +0x10 /* 00002F3C */
  4702. 00002F2E  2F2A 0340                move.l     -[A7], [A2 + 0x340]
  4703. 00002F32  4EBA 2C50                jsr        [PC + 0x2C50 /* 00005B84 */]
  4704. 00002F36  42AA 0344                clr.l      [A2 + 0x344]
  4705. 00002F3A  584F                     addq.w     A7, 4
  4706. label00002F3C:
  4707. 00002F3C  206A 0344                movea.l    A0, [A2 + 0x344]
  4708. 00002F40  245F                     movea.l    A2, [A7]+
  4709. 00002F42  4E75                     rts
  4710. fn00002F44:
  4711. 00002F44  2F0A                     move.l     -[A7], A2
  4712. 00002F46  246F 0008                movea.l    A2, [A7 + 0x8]
  4713. 00002F4A  4A6F 000C                tst.w      [A7 + 0xC]
  4714. 00002F4E  6716                     beq        +0x18 /* 00002F66 */
  4715. 00002F50  4AAA 0020                tst.l      [A2 + 0x20]
  4716. 00002F54  6624                     bne        +0x26 /* 00002F7A */
  4717. 00002F56  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  4718. 00002F5A  4EBA 2C02                jsr        [PC + 0x2C02 /* 00005B5E */]
  4719. 00002F5E  2548 0020                move.l     [A2 + 0x20], A0
  4720. 00002F62  584F                     addq.w     A7, 4
  4721. 00002F64  6014                     bra        +0x16 /* 00002F7A */
  4722. label00002F66:
  4723. 00002F66  4AAA 0020                tst.l      [A2 + 0x20]
  4724. 00002F6A  670A                     beq        +0xC /* 00002F76 */
  4725. 00002F6C  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  4726. 00002F70  4EBA 2C12                jsr        [PC + 0x2C12 /* 00005B84 */]
  4727. 00002F74  584F                     addq.w     A7, 4
  4728. label00002F76:
  4729. 00002F76  42AA 0020                clr.l      [A2 + 0x20]
  4730. label00002F7A:
  4731. 00002F7A  206A 0020                movea.l    A0, [A2 + 0x20]
  4732. 00002F7E  245F                     movea.l    A2, [A7]+
  4733. 00002F80  4E75                     rts
  4734. fn00002F82:
  4735. 00002F82  2F0A                     move.l     -[A7], A2
  4736. 00002F84  246F 0008                movea.l    A2, [A7 + 0x8]
  4737. 00002F88  4A6F 000C                tst.w      [A7 + 0xC]
  4738. 00002F8C  6716                     beq        +0x18 /* 00002FA4 */
  4739. 00002F8E  4AAA 0018                tst.l      [A2 + 0x18]
  4740. 00002F92  6624                     bne        +0x26 /* 00002FB8 */
  4741. 00002F94  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  4742. 00002F98  4EBA 2BC4                jsr        [PC + 0x2BC4 /* 00005B5E */]
  4743. 00002F9C  2548 0018                move.l     [A2 + 0x18], A0
  4744. 00002FA0  584F                     addq.w     A7, 4
  4745. 00002FA2  6014                     bra        +0x16 /* 00002FB8 */
  4746. label00002FA4:
  4747. 00002FA4  4AAA 0018                tst.l      [A2 + 0x18]
  4748. 00002FA8  670A                     beq        +0xC /* 00002FB4 */
  4749. 00002FAA  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  4750. 00002FAE  4EBA 2BD4                jsr        [PC + 0x2BD4 /* 00005B84 */]
  4751. 00002FB2  584F                     addq.w     A7, 4
  4752. label00002FB4:
  4753. 00002FB4  42AA 0018                clr.l      [A2 + 0x18]
  4754. label00002FB8:
  4755. 00002FB8  206A 0018                movea.l    A0, [A2 + 0x18]
  4756. 00002FBC  245F                     movea.l    A2, [A7]+
  4757. 00002FBE  4E75                     rts
  4758. fn00002FC0:
  4759. 00002FC0  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  4760. 00002FC4  282F 001C                move.l     D4, [A7 + 0x1C]
  4761. 00002FC8  262F 0020                move.l     D3, [A7 + 0x20]
  4762. 00002FCC  2C6F 0024                movea.l    A6, [A7 + 0x24]
  4763. 00002FD0  286F 0028                movea.l    A4, [A7 + 0x28]
  4764. 00002FD4  2043                     movea.l    A0, D3
  4765. 00002FD6  2444                     movea.l    A2, D4
  4766. 00002FD8  246A 0020                movea.l    A2, [A2 + 0x20]
  4767. 00002FDC  D5E8 0004                add.l      A2, [A0 + 0x4]
  4768. 00002FE0  2644                     movea.l    A3, D4
  4769. 00002FE2  266B 0020                movea.l    A3, [A3 + 0x20]
  4770. 00002FE6  D7E8 000C                add.l      A3, [A0 + 0xC]
  4771. 00002FEA  548C                     addq.l     A4, 2
  4772. 00002FEC  548A                     addq.l     A2, 2
  4773. 00002FEE  548B                     addq.l     A3, 2
  4774. 00002FF0  2F0A                     move.l     -[A7], A2
  4775. 00002FF2  2F0C                     move.l     -[A7], A4
  4776. 00002FF4  4E96                     jsr        [A6]
  4777. 00002FF6  4A80                     tst.l      D0
  4778. 00002FF8  504F                     addq.w     A7, 8
  4779. 00002FFA  6D14                     blt        +0x16 /* 00003010 */
  4780. 00002FFC  2F0B                     move.l     -[A7], A3
  4781. 00002FFE  2F0C                     move.l     -[A7], A4
  4782. 00003000  4E96                     jsr        [A6]
  4783. 00003002  4A80                     tst.l      D0
  4784. 00003004  504F                     addq.w     A7, 8
  4785. 00003006  6E08                     bgt        +0xA /* 00003010 */
  4786. 00003008  7001                     moveq.l    D0, 0x01
  4787. 0000300A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4788. 0000300E  4E75                     rts
  4789. label00003010:
  4790. 00003010  7000                     moveq.l    D0, 0x00
  4791. 00003012  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4792. 00003016  4E75                     rts
  4793. fn00003018:
  4794. 00003018  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  4795. 0000301C  282F 001C                move.l     D4, [A7 + 0x1C]
  4796. 00003020  262F 0020                move.l     D3, [A7 + 0x20]
  4797. 00003024  286F 0024                movea.l    A4, [A7 + 0x24]
  4798. 00003028  266F 0028                movea.l    A3, [A7 + 0x28]
  4799. 0000302C  2C6F 002C                movea.l    A6, [A7 + 0x2C]
  4800. 00003030  2043                     movea.l    A0, D3
  4801. 00003032  2444                     movea.l    A2, D4
  4802. 00003034  246A 0020                movea.l    A2, [A2 + 0x20]
  4803. 00003038  D5E8 0004                add.l      A2, [A0 + 0x4]
  4804. 0000303C  548A                     addq.l     A2, 2
  4805. 0000303E  548B                     addq.l     A3, 2
  4806. 00003040  548E                     addq.l     A6, 2
  4807. 00003042  2F0A                     move.l     -[A7], A2
  4808. 00003044  2F0B                     move.l     -[A7], A3
  4809. 00003046  4E94                     jsr        [A4]
  4810. 00003048  4A80                     tst.l      D0
  4811. 0000304A  504F                     addq.w     A7, 8
  4812. 0000304C  6C14                     bge        +0x16 /* 00003062 */
  4813. 0000304E  2F0A                     move.l     -[A7], A2
  4814. 00003050  2F0E                     move.l     -[A7], A6
  4815. 00003052  4E94                     jsr        [A4]
  4816. 00003054  4A80                     tst.l      D0
  4817. 00003056  504F                     addq.w     A7, 8
  4818. 00003058  6D2A                     blt        +0x2C /* 00003084 */
  4819. 0000305A  7001                     moveq.l    D0, 0x01
  4820. 0000305C  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4821. 00003060  4E75                     rts
  4822. label00003062:
  4823. 00003062  2043                     movea.l    A0, D3
  4824. 00003064  2444                     movea.l    A2, D4
  4825. 00003066  246A 0020                movea.l    A2, [A2 + 0x20]
  4826. 0000306A  D5E8 000C                add.l      A2, [A0 + 0xC]
  4827. 0000306E  548A                     addq.l     A2, 2
  4828. 00003070  2F0A                     move.l     -[A7], A2
  4829. 00003072  2F0B                     move.l     -[A7], A3
  4830. 00003074  4E94                     jsr        [A4]
  4831. 00003076  4A80                     tst.l      D0
  4832. 00003078  504F                     addq.w     A7, 8
  4833. 0000307A  6E08                     bgt        +0xA /* 00003084 */
  4834. 0000307C  7001                     moveq.l    D0, 0x01
  4835. 0000307E  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4836. 00003082  4E75                     rts
  4837. label00003084:
  4838. 00003084  7000                     moveq.l    D0, 0x00
  4839. 00003086  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4840. 0000308A  4E75                     rts
  4841. fn0000308C:
  4842. 0000308C  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  4843. 00003090  266F 0014                movea.l    A3, [A7 + 0x14]
  4844. 00003094  7600                     moveq.l    D3, 0x00
  4845. 00003096  7800                     moveq.l    D4, 0x00
  4846. 00003098  4AAB 0344                tst.l      [A3 + 0x344]
  4847. 0000309C  6706                     beq        +0x8 /* 000030A4 */
  4848. 0000309E  246B 0344                movea.l    A2, [A3 + 0x344]
  4849. 000030A2  6010                     bra        +0x12 /* 000030B4 */
  4850. label000030A4:
  4851. 000030A4  7801                     moveq.l    D4, 0x01
  4852. 000030A6  3F3C 0001                move.w     -[A7], 0x1
  4853. 000030AA  2F0B                     move.l     -[A7], A3
  4854. 000030AC  4EBA FE58                jsr        [PC - 0x1A8 /* 00002F06 */]
  4855. 000030B0  2448                     movea.l    A2, A0
  4856. 000030B2  5C4F                     addq.w     A7, 6
  4857. label000030B4:
  4858. 000030B4  7062                     moveq.l    D0, 0x62
  4859. 000030B6  C1EF 0018                muls.w     D0, [A7 + 0x18]
  4860. 000030BA  D5C0                     add.l      A2, D0
  4861. 000030BC  4AAA 0036                tst.l      [A2 + 0x36]
  4862. 000030C0  671C                     beq        +0x1E /* 000030DE */
  4863. 000030C2  206F 001A                movea.l    A0, [A7 + 0x1A]
  4864. 000030C6  4868 0002                pea.l      [A0 + 0x2]
  4865. 000030CA  206A 0036                movea.l    A0, [A2 + 0x36]
  4866. 000030CE  4E90                     jsr        [A0]
  4867. 000030D0  4A40                     tst.w      D0
  4868. 000030D2  56C0                     sne        D0
  4869. 000030D4  4400                     neg.b      D0
  4870. 000030D6  4880                     ext.w      D0
  4871. 000030D8  48C0                     ext.l      D0
  4872. 000030DA  3600                     move.w     D3, D0
  4873. 000030DC  584F                     addq.w     A7, 4
  4874. label000030DE:
  4875. 000030DE  4A44                     tst.w      D4
  4876. 000030E0  670A                     beq        +0xC /* 000030EC */
  4877. 000030E2  4267                     clr.w      -[A7]
  4878. 000030E4  2F0B                     move.l     -[A7], A3
  4879. 000030E6  4EBA FE1E                jsr        [PC - 0x1E2 /* 00002F06 */]
  4880. 000030EA  5C4F                     addq.w     A7, 6
  4881. label000030EC:
  4882. 000030EC  3003                     move.w     D0, D3
  4883. 000030EE  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4884. 000030F2  4E75                     rts
  4885. fn000030F4:
  4886. 000030F4  202F 000C                move.l     D0, [A7 + 0xC]
  4887. 000030F8  90AF 0008                sub.l      D0, [A7 + 0x8]
  4888. 000030FC  7205                     moveq.l    D1, 0x05
  4889. 000030FE  B081                     cmp.l      D0, D1
  4890. 00003100  6F04                     ble        +0x6 /* 00003106 */
  4891. 00003102  7001                     moveq.l    D0, 0x01
  4892. 00003104  4E75                     rts
  4893. label00003106:
  4894. 00003106  7000                     moveq.l    D0, 0x00
  4895. 00003108  4E75                     rts
  4896. fn0000310A:
  4897. 0000310A  48E7 1820                movem.l    -[A7], D3,D4,A2
  4898. 0000310E  246F 0010                movea.l    A2, [A7 + 0x10]
  4899. 00003112  202F 0018                move.l     D0, [A7 + 0x18]
  4900. 00003116  90AF 0014                sub.l      D0, [A7 + 0x14]
  4901. 0000311A  222A 05C6                move.l     D1, [A2 + 0x5C6]
  4902. 0000311E  4EAD D8F8                jsr        [A5 - 0x2708]
  4903. 00003122  2600                     move.l     D3, D0
  4904. 00003124  283C 0003 2000           move.l     D4, 0x32000
  4905. 0000312A  B8AA 05C6                cmp.l      D4, [A2 + 0x5C6]
  4906. 0000312E  6C08                     bge        +0xA /* 00003138 */
  4907. 00003130  7000                     moveq.l    D0, 0x00
  4908. 00003132  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4909. 00003136  4E75                     rts
  4910. label00003138:
  4911. 00003138  B684                     cmp.l      D3, D4
  4912. 0000313A  6D04                     blt        +0x6 /* 00003140 */
  4913. 0000313C  2004                     move.l     D0, D4
  4914. 0000313E  6002                     bra        +0x4 /* 00003142 */
  4915. label00003140:
  4916. 00003140  2003                     move.l     D0, D3
  4917. label00003142:
  4918. 00003142  2600                     move.l     D3, D0
  4919. 00003144  2003                     move.l     D0, D3
  4920. 00003146  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  4921. 0000314A  4E75                     rts
  4922. fn0000314C:
  4923. 0000314C  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  4924. 00003150  4EBA 2A0C                jsr        [PC + 0x2A0C /* 00005B5E */]
  4925. 00003154  584F                     addq.w     A7, 4
  4926. 00003156  4E75                     rts
  4927. fn00003158:
  4928. 00003158  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  4929. 0000315C  4EBA 2A26                jsr        [PC + 0x2A26 /* 00005B84 */]
  4930. 00003160  584F                     addq.w     A7, 4
  4931. 00003162  4E75                     rts
  4932. fn00003164:
  4933. 00003164  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  4934. 00003168  5D4F                     subq.w     A7, 6
  4935. 0000316A  2C6F 002E                movea.l    A6, [A7 + 0x2E]
  4936. 0000316E  266F 0032                movea.l    A3, [A7 + 0x32]
  4937. 00003172  286F 0036                movea.l    A4, [A7 + 0x36]
  4938. 00003176  2F2E 00A0                move.l     -[A7], [A6 + 0xA0]
  4939. 0000317A  4EBA 29E2                jsr        [PC + 0x29E2 /* 00005B5E */]
  4940. 0000317E  2448                     movea.l    A2, A0
  4941. 00003180  202E 0034                move.l     D0, [A6 + 0x34]
  4942. 00003184  E680                     asr        D0, 3
  4943. 00003186  E788                     lsl        D0, 3
  4944. 00003188  2F40 0004                move.l     [A7 + 0x4], D0
  4945. 0000318C  202E 0034                move.l     D0, [A6 + 0x34]
  4946. 00003190  7208                     moveq.l    D1, 0x08
  4947. 00003192  4EAD D910                jsr        [A5 - 0x26F0]
  4948. 00003196  D0AF 0004                add.l      D0, [A7 + 0x4]
  4949. 0000319A  2E00                     move.l     D7, D0
  4950. 0000319C  202E 0038                move.l     D0, [A6 + 0x38]
  4951. 000031A0  E680                     asr        D0, 3
  4952. 000031A2  E788                     lsl        D0, 3
  4953. 000031A4  2F40 0004                move.l     [A7 + 0x4], D0
  4954. 000031A8  202E 0038                move.l     D0, [A6 + 0x38]
  4955. 000031AC  7208                     moveq.l    D1, 0x08
  4956. 000031AE  4EAD D910                jsr        [A5 - 0x26F0]
  4957. 000031B2  D0AF 0004                add.l      D0, [A7 + 0x4]
  4958. 000031B6  2600                     move.l     D3, D0
  4959. 000031B8  7680                     moveq.l    D3, 0xFFFFFF80
  4960. 000031BA  7800                     moveq.l    D4, 0x00
  4961. 000031BC  426F 0008                clr.w      [A7 + 0x8]
  4962. 000031C0  7A00                     moveq.l    D5, 0x00
  4963. 000031C2  584F                     addq.w     A7, 4
  4964. 000031C4  606A                     bra        +0x6C /* 00003230 */
  4965. label000031C6:
  4966. 000031C6  1012                     move.b     D0, [A2]
  4967. 000031C8  4880                     ext.w      D0
  4968. 000031CA  48C0                     ext.l      D0
  4969. 000031CC  1203                     move.b     D1, D3
  4970. 000031CE  4881                     ext.w      D1
  4971. 000031D0  48C1                     ext.l      D1
  4972. 000031D2  C280                     and.l      D1, D0
  4973. 000031D4  673A                     beq        +0x3C /* 00003210 */
  4974. 000031D6  1013                     move.b     D0, [A3]
  4975. 000031D8  4880                     ext.w      D0
  4976. 000031DA  48C0                     ext.l      D0
  4977. 000031DC  1203                     move.b     D1, D3
  4978. 000031DE  4881                     ext.w      D1
  4979. 000031E0  48C1                     ext.l      D1
  4980. 000031E2  C280                     and.l      D1, D0
  4981. 000031E4  6728                     beq        +0x2A /* 0000320E */
  4982. 000031E6  2004                     move.l     D0, D4
  4983. 000031E8  7208                     moveq.l    D1, 0x08
  4984. 000031EA  4EAD D910                jsr        [A5 - 0x26F0]
  4985. 000031EE  7207                     moveq.l    D1, 0x07
  4986. 000031F0  9280                     sub.l      D1, D0
  4987. 000031F2  7001                     moveq.l    D0, 0x01
  4988. 000031F4  E3A8                     lsl        D0, D1
  4989. 000031F6  1C00                     move.b     D6, D0
  4990. 000031F8  2004                     move.l     D0, D4
  4991. 000031FA  E480                     asr        D0, 2
  4992. 000031FC  E088                     lsr        D0, 8
  4993. 000031FE  E088                     lsr        D0, 8
  4994. 00003200  E088                     lsr        D0, 8
  4995. 00003202  EA88                     lsr        D0, 5
  4996. 00003204  D084                     add.l      D0, D4
  4997. 00003206  E680                     asr        D0, 3
  4998. 00003208  41F4 0800                lea.l      A0, [A4 + D0]
  4999. 0000320C  8D10                     or.b       [A0], D6
  5000. label0000320E:
  5001. 0000320E  5284                     addq.l     D4, 1
  5002. label00003210:
  5003. 00003210  1003                     move.b     D0, D3
  5004. 00003212  4880                     ext.w      D0
  5005. 00003214  48C0                     ext.l      D0
  5006. 00003216  4680                     not.l      D0
  5007. 00003218  1203                     move.b     D1, D3
  5008. 0000321A  4881                     ext.w      D1
  5009. 0000321C  48C1                     ext.l      D1
  5010. 0000321E  E281                     asr        D1, 1
  5011. 00003220  C280                     and.l      D1, D0
  5012. 00003222  1601                     move.b     D3, D1
  5013. 00003224  4A03                     tst.b      D3
  5014. 00003226  6606                     bne        +0x8 /* 0000322E */
  5015. 00003228  528A                     addq.l     A2, 1
  5016. 0000322A  528B                     addq.l     A3, 1
  5017. 0000322C  7680                     moveq.l    D3, 0xFFFFFF80
  5018. label0000322E:
  5019. 0000322E  5285                     addq.l     D5, 1
  5020. label00003230:
  5021. 00003230  BA87                     cmp.l      D5, D7
  5022. 00003232  6D92                     blt        -0x6C /* 000031C6 */
  5023. 00003234  2F2E 00A0                move.l     -[A7], [A6 + 0xA0]
  5024. 00003238  4EBA 294A                jsr        [PC + 0x294A /* 00005B84 */]
  5025. 0000323C  302F 0008                move.w     D0, [A7 + 0x8]
  5026. 00003240  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5027. 00003244  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5028. 00003248  4E75                     rts
  5029. fn0000324A:
  5030. 0000324A  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  5031. 0000324E  266F 001C                movea.l    A3, [A7 + 0x1C]
  5032. 00003252  2C2F 0020                move.l     D6, [A7 + 0x20]
  5033. 00003256  2F2B 00A0                move.l     -[A7], [A3 + 0xA0]
  5034. 0000325A  4EBA 2902                jsr        [PC + 0x2902 /* 00005B5E */]
  5035. 0000325E  2448                     movea.l    A2, A0
  5036. 00003260  7680                     moveq.l    D3, 0xFFFFFF80
  5037. 00003262  7800                     moveq.l    D4, 0x00
  5038. 00003264  7AFF                     moveq.l    D5, 0xFFFFFFFF
  5039. 00003266  584F                     addq.w     A7, 4
  5040. 00003268  6030                     bra        +0x32 /* 0000329A */
  5041. label0000326A:
  5042. 0000326A  1012                     move.b     D0, [A2]
  5043. 0000326C  4880                     ext.w      D0
  5044. 0000326E  48C0                     ext.l      D0
  5045. 00003270  1203                     move.b     D1, D3
  5046. 00003272  4881                     ext.w      D1
  5047. 00003274  48C1                     ext.l      D1
  5048. 00003276  C280                     and.l      D1, D0
  5049. 00003278  6702                     beq        +0x4 /* 0000327C */
  5050. 0000327A  5285                     addq.l     D5, 1
  5051. label0000327C:
  5052. 0000327C  1003                     move.b     D0, D3
  5053. 0000327E  4880                     ext.w      D0
  5054. 00003280  48C0                     ext.l      D0
  5055. 00003282  4680                     not.l      D0
  5056. 00003284  1203                     move.b     D1, D3
  5057. 00003286  4881                     ext.w      D1
  5058. 00003288  48C1                     ext.l      D1
  5059. 0000328A  E281                     asr        D1, 1
  5060. 0000328C  C280                     and.l      D1, D0
  5061. 0000328E  1601                     move.b     D3, D1
  5062. 00003290  4A03                     tst.b      D3
  5063. 00003292  6604                     bne        +0x6 /* 00003298 */
  5064. 00003294  528A                     addq.l     A2, 1
  5065. 00003296  7680                     moveq.l    D3, 0xFFFFFF80
  5066. label00003298:
  5067. 00003298  5284                     addq.l     D4, 1
  5068. label0000329A:
  5069. 0000329A  B886                     cmp.l      D4, D6
  5070. 0000329C  6DCC                     blt        -0x32 /* 0000326A */
  5071. 0000329E  1812                     move.b     D4, [A2]
  5072. 000032A0  2F2B 00A0                move.l     -[A7], [A3 + 0xA0]
  5073. 000032A4  4EBA 28DE                jsr        [PC + 0x28DE /* 00005B84 */]
  5074. 000032A8  1004                     move.b     D0, D4
  5075. 000032AA  4880                     ext.w      D0
  5076. 000032AC  48C0                     ext.l      D0
  5077. 000032AE  1203                     move.b     D1, D3
  5078. 000032B0  4881                     ext.w      D1
  5079. 000032B2  48C1                     ext.l      D1
  5080. 000032B4  C280                     and.l      D1, D0
  5081. 000032B6  584F                     addq.w     A7, 4
  5082. 000032B8  6608                     bne        +0xA /* 000032C2 */
  5083. 000032BA  70FF                     moveq.l    D0, 0xFFFFFFFF
  5084. 000032BC  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5085. 000032C0  4E75                     rts
  5086. label000032C2:
  5087. 000032C2  5285                     addq.l     D5, 1
  5088. 000032C4  2005                     move.l     D0, D5
  5089. 000032C6  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  5090. 000032CA  4E75                     rts
  5091. fn000032CC:
  5092. 000032CC  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  5093. 000032D0  2C6F 0024                movea.l    A6, [A7 + 0x24]
  5094. 000032D4  266F 0028                movea.l    A3, [A7 + 0x28]
  5095. 000032D8  2A2F 002C                move.l     D5, [A7 + 0x2C]
  5096. 000032DC  99CC                     sub.l      A4, A4
  5097. 000032DE  7600                     moveq.l    D3, 0x00
  5098. 000032E0  284E                     movea.l    A4, A6
  5099. 000032E2  49EC 009C                lea.l      A4, [A4 + 0x9C]
  5100. 000032E6  200B                     move.l     D0, A3
  5101. 000032E8  6704                     beq        +0x6 /* 000032EE */
  5102. 000032EA  4A85                     tst.l      D5
  5103. 000032EC  662A                     bne        +0x2C /* 00003318 */
  5104. label000032EE:
  5105. 000032EE  4A94                     tst.l      [A4]
  5106. 000032F0  670E                     beq        +0x10 /* 00003300 */
  5107. 000032F2  2F14                     move.l     -[A7], [A4]
  5108. 000032F4  4EBA 288E                jsr        [PC + 0x288E /* 00005B84 */]
  5109. 000032F8  2F14                     move.l     -[A7], [A4]
  5110. 000032FA  4EBA 2846                jsr        [PC + 0x2846 /* 00005B42 */]
  5111. 000032FE  504F                     addq.w     A7, 8
  5112. label00003300:
  5113. 00003300  4878 0004                push.l     0x4
  5114. 00003304  42A7                     clr.l      -[A7]
  5115. 00003306  2F0C                     move.l     -[A7], A4
  5116. 00003308  4EAD D94C                jsr        [A5 - 0x26B4]
  5117. 0000330C  7000                     moveq.l    D0, 0x00
  5118. 0000330E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5119. 00003312  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  5120. 00003316  4E75                     rts
  5121. label00003318:
  5122. 00003318  244B                     movea.l    A2, A3
  5123. 0000331A  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  5124. 0000331E  4EAD EC40                jsr        [A5 - 0x13C0]
  5125. 00003322  2648                     movea.l    A3, A0
  5126. 00003324  200B                     move.l     D0, A3
  5127. 00003326  584F                     addq.w     A7, 4
  5128. 00003328  6608                     bne        +0xA /* 00003332 */
  5129. 0000332A  7001                     moveq.l    D0, 0x01
  5130. 0000332C  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  5131. 00003330  4E75                     rts
  5132. label00003332:
  5133. 00003332  4A94                     tst.l      [A4]
  5134. 00003334  6618                     bne        +0x1A /* 0000334E */
  5135. 00003336  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  5136. 0000333A  4EBA 27AA                jsr        [PC + 0x27AA /* 00005AE6 */]
  5137. 0000333E  2888                     move.l     [A4], A0
  5138. 00003340  4A94                     tst.l      [A4]
  5139. 00003342  584F                     addq.w     A7, 4
  5140. 00003344  6608                     bne        +0xA /* 0000334E */
  5141. 00003346  7001                     moveq.l    D0, 0x01
  5142. 00003348  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  5143. 0000334C  4E75                     rts
  5144. label0000334E:
  5145. 0000334E  2F14                     move.l     -[A7], [A4]
  5146. 00003350  4EBA 280C                jsr        [PC + 0x280C /* 00005B5E */]
  5147. 00003354  2C08                     move.l     D6, A0
  5148. 00003356  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  5149. 0000335A  42A7                     clr.l      -[A7]
  5150. 0000335C  2F06                     move.l     -[A7], D6
  5151. 0000335E  4EAD D94C                jsr        [A5 - 0x26B4]
  5152. 00003362  7600                     moveq.l    D3, 0x00
  5153. 00003364  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5154. 00003368  602C                     bra        +0x2E /* 00003396 */
  5155. label0000336A:
  5156. 0000336A  2012                     move.l     D0, [A2]
  5157. 0000336C  7208                     moveq.l    D1, 0x08
  5158. 0000336E  4EAD D910                jsr        [A5 - 0x26F0]
  5159. 00003372  7207                     moveq.l    D1, 0x07
  5160. 00003374  9280                     sub.l      D1, D0
  5161. 00003376  7001                     moveq.l    D0, 0x01
  5162. 00003378  E3A8                     lsl        D0, D1
  5163. 0000337A  1800                     move.b     D4, D0
  5164. 0000337C  2012                     move.l     D0, [A2]
  5165. 0000337E  E480                     asr        D0, 2
  5166. 00003380  E088                     lsr        D0, 8
  5167. 00003382  E088                     lsr        D0, 8
  5168. 00003384  E088                     lsr        D0, 8
  5169. 00003386  EA88                     lsr        D0, 5
  5170. 00003388  D092                     add.l      D0, [A2]
  5171. 0000338A  E680                     asr        D0, 3
  5172. 0000338C  41F3 0800                lea.l      A0, [A3 + D0]
  5173. 00003390  8910                     or.b       [A0], D4
  5174. 00003392  5283                     addq.l     D3, 1
  5175. 00003394  588A                     addq.l     A2, 4
  5176. label00003396:
  5177. 00003396  B685                     cmp.l      D3, D5
  5178. 00003398  6DD0                     blt        -0x2E /* 0000336A */
  5179. 0000339A  2F06                     move.l     -[A7], D6
  5180. 0000339C  2F0B                     move.l     -[A7], A3
  5181. 0000339E  2F0E                     move.l     -[A7], A6
  5182. 000033A0  4EBA FDC2                jsr        [PC - 0x23E /* 00003164 */]
  5183. 000033A4  3600                     move.w     D3, D0
  5184. 000033A6  2F14                     move.l     -[A7], [A4]
  5185. 000033A8  4EBA 27DA                jsr        [PC + 0x27DA /* 00005B84 */]
  5186. 000033AC  2F0B                     move.l     -[A7], A3
  5187. 000033AE  4EBA 2870                jsr        [PC + 0x2870 /* 00005C20 */]
  5188. 000033B2  3003                     move.w     D0, D3
  5189. 000033B4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5190. 000033B8  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  5191. 000033BC  4E75                     rts
  5192. fn000033BE:
  5193. 000033BE  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  5194. 000033C2  594F                     subq.w     A7, 4
  5195. 000033C4  286F 0020                movea.l    A4, [A7 + 0x20]
  5196. 000033C8  246F 0024                movea.l    A2, [A7 + 0x24]
  5197. 000033CC  266F 0028                movea.l    A3, [A7 + 0x28]
  5198. 000033D0  7600                     moveq.l    D3, 0x00
  5199. 000033D2  206C 02CC                movea.l    A0, [A4 + 0x2CC]
  5200. 000033D6  4A10                     tst.b      [A0]
  5201. 000033D8  6714                     beq        +0x16 /* 000033EE */
  5202. 000033DA  2F0B                     move.l     -[A7], A3
  5203. 000033DC  2F0A                     move.l     -[A7], A2
  5204. 000033DE  2F0C                     move.l     -[A7], A4
  5205. 000033E0  4EBA 0688                jsr        [PC + 0x688 /* 00003A6A */]
  5206. 000033E4  3600                     move.w     D3, D0
  5207. 000033E6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5208. 000033EA  6000 00BA                bra        +0xBC /* 000034A6 */
  5209. label000033EE:
  5210. 000033EE  282A 0018                move.l     D4, [A2 + 0x18]
  5211. 000033F2  D8AB 0018                add.l      D4, [A3 + 0x18]
  5212. 000033F6  4AAA 001C                tst.l      [A2 + 0x1C]
  5213. 000033FA  6624                     bne        +0x26 /* 00003420 */
  5214. 000033FC  2004                     move.l     D0, D4
  5215. 000033FE  720C                     moveq.l    D1, 0x0C
  5216. 00003400  4EAD D8F8                jsr        [A5 - 0x2708]
  5217. 00003404  2F00                     move.l     -[A7], D0
  5218. 00003406  4EBA 26DE                jsr        [PC + 0x26DE /* 00005AE6 */]
  5219. 0000340A  2548 001C                move.l     [A2 + 0x1C], A0
  5220. 0000340E  4AAA 001C                tst.l      [A2 + 0x1C]
  5221. 00003412  584F                     addq.w     A7, 4
  5222. 00003414  6630                     bne        +0x32 /* 00003446 */
  5223. 00003416  7001                     moveq.l    D0, 0x01
  5224. 00003418  584F                     addq.w     A7, 4
  5225. 0000341A  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5226. 0000341E  4E75                     rts
  5227. label00003420:
  5228. 00003420  2004                     move.l     D0, D4
  5229. 00003422  720C                     moveq.l    D1, 0x0C
  5230. 00003424  4EAD D8F8                jsr        [A5 - 0x2708]
  5231. 00003428  2F00                     move.l     -[A7], D0
  5232. 0000342A  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  5233. 0000342E  4EBA 2770                jsr        [PC + 0x2770 /* 00005BA0 */]
  5234. 00003432  4EBA 26AC                jsr        [PC + 0x26AC /* 00005AE0 */]
  5235. 00003436  4A40                     tst.w      D0
  5236. 00003438  504F                     addq.w     A7, 8
  5237. 0000343A  670A                     beq        +0xC /* 00003446 */
  5238. 0000343C  7001                     moveq.l    D0, 0x01
  5239. 0000343E  584F                     addq.w     A7, 4
  5240. 00003440  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5241. 00003444  4E75                     rts
  5242. label00003446:
  5243. 00003446  202A 0018                move.l     D0, [A2 + 0x18]
  5244. 0000344A  720C                     moveq.l    D1, 0x0C
  5245. 0000344C  4EAD D8F8                jsr        [A5 - 0x2708]
  5246. 00003450  2E80                     move.l     [A7], D0
  5247. 00003452  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  5248. 00003456  4EBA 2706                jsr        [PC + 0x2706 /* 00005B5E */]
  5249. 0000345A  D1EF 0004                add.l      A0, [A7 + 0x4]
  5250. 0000345E  2C48                     movea.l    A6, A0
  5251. 00003460  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  5252. 00003464  4EBA 26F8                jsr        [PC + 0x26F8 /* 00005B5E */]
  5253. 00003468  2848                     movea.l    A4, A0
  5254. 0000346A  202B 0018                move.l     D0, [A3 + 0x18]
  5255. 0000346E  720C                     moveq.l    D1, 0x0C
  5256. 00003470  4EAD D8F8                jsr        [A5 - 0x2708]
  5257. 00003474  2200                     move.l     D1, D0
  5258. 00003476  204E                     movea.l    A0, A6
  5259. 00003478  224C                     movea.l    A1, A4
  5260. 0000347A  2008                     move.l     D0, A0
  5261. 0000347C  4A81                     tst.l      D1
  5262. 0000347E  6706                     beq        +0x8 /* 00003486 */
  5263. label00003480:
  5264. 00003480  10D9                     move.b     [A0]+, [A1]+
  5265. 00003482  5381                     subq.l     D1, 1
  5266. 00003484  66FA                     bne        -0x4 /* 00003480 */
  5267. label00003486:
  5268. 00003486  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  5269. 0000348A  4EBA 26F8                jsr        [PC + 0x26F8 /* 00005B84 */]
  5270. 0000348E  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  5271. 00003492  4EBA 26F0                jsr        [PC + 0x26F0 /* 00005B84 */]
  5272. 00003496  4A43                     tst.w      D3
  5273. 00003498  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5274. 0000349C  6608                     bne        +0xA /* 000034A6 */
  5275. 0000349E  202B 0018                move.l     D0, [A3 + 0x18]
  5276. 000034A2  D1AA 0018                add.l      [A2 + 0x18], D0
  5277. label000034A6:
  5278. 000034A6  3003                     move.w     D0, D3
  5279. 000034A8  584F                     addq.w     A7, 4
  5280. 000034AA  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  5281. 000034AE  4E75                     rts
  5282. fn000034B0:
  5283. 000034B0  48E7 1E00                movem.l    -[A7], D3,D4,D5,D6
  5284. 000034B4  282F 0018                move.l     D4, [A7 + 0x18]
  5285. 000034B8  262F 001C                move.l     D3, [A7 + 0x1C]
  5286. 000034BC  3C2F 0020                move.w     D6, [A7 + 0x20]
  5287. 000034C0  2A2F 0022                move.l     D5, [A7 + 0x22]
  5288. 000034C4  0C46 0001                cmpi.w     D6, 0x1
  5289. 000034C8  6614                     bne        +0x16 /* 000034DE */
  5290. 000034CA  B684                     cmp.l      D3, D4
  5291. 000034CC  6F50                     ble        +0x52 /* 0000351E */
  5292. 000034CE  2004                     move.l     D0, D4
  5293. 000034D0  D085                     add.l      D0, D5
  5294. 000034D2  B680                     cmp.l      D3, D0
  5295. 000034D4  6E48                     bgt        +0x4A /* 0000351E */
  5296. 000034D6  7001                     moveq.l    D0, 0x01
  5297. 000034D8  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  5298. 000034DC  4E75                     rts
  5299. label000034DE:
  5300. 000034DE  0C46 0002                cmpi.w     D6, 0x2
  5301. 000034E2  6614                     bne        +0x16 /* 000034F8 */
  5302. 000034E4  B684                     cmp.l      D3, D4
  5303. 000034E6  6C36                     bge        +0x38 /* 0000351E */
  5304. 000034E8  2004                     move.l     D0, D4
  5305. 000034EA  9085                     sub.l      D0, D5
  5306. 000034EC  B680                     cmp.l      D3, D0
  5307. 000034EE  6E2E                     bgt        +0x30 /* 0000351E */
  5308. 000034F0  7001                     moveq.l    D0, 0x01
  5309. 000034F2  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  5310. 000034F6  4E75                     rts
  5311. label000034F8:
  5312. 000034F8  0C46 0003                cmpi.w     D6, 0x3
  5313. 000034FC  6620                     bne        +0x22 /* 0000351E */
  5314. 000034FE  2004                     move.l     D0, D4
  5315. 00003500  9083                     sub.l      D0, D3
  5316. 00003502  4A80                     tst.l      D0
  5317. 00003504  6D06                     blt        +0x8 /* 0000350C */
  5318. 00003506  2004                     move.l     D0, D4
  5319. 00003508  9083                     sub.l      D0, D3
  5320. 0000350A  6006                     bra        +0x8 /* 00003512 */
  5321. label0000350C:
  5322. 0000350C  2004                     move.l     D0, D4
  5323. 0000350E  9083                     sub.l      D0, D3
  5324. 00003510  4480                     neg.l      D0
  5325. label00003512:
  5326. 00003512  B085                     cmp.l      D0, D5
  5327. 00003514  6E08                     bgt        +0xA /* 0000351E */
  5328. 00003516  7001                     moveq.l    D0, 0x01
  5329. 00003518  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  5330. 0000351C  4E75                     rts
  5331. label0000351E:
  5332. 0000351E  7000                     moveq.l    D0, 0x00
  5333. 00003520  4CDF 0078                movem.l    D3,D4,D5,D6, [A7]+
  5334. 00003524  4E75                     rts
  5335. fn00003526:
  5336. 00003526  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5337. 0000352A  4FEF FFF6                lea.l      A7, [A7 - 0xA]
  5338. 0000352E  286F 0036                movea.l    A4, [A7 + 0x36]
  5339. 00003532  42AF 0006                clr.l      [A7 + 0x6]
  5340. 00003536  7E00                     moveq.l    D7, 0x00
  5341. 00003538  426F 0004                clr.w      [A7 + 0x4]
  5342. 0000353C  206F 0032                movea.l    A0, [A7 + 0x32]
  5343. 00003540  4AA8 02E0                tst.l      [A0 + 0x2E0]
  5344. 00003544  663C                     bne        +0x3E /* 00003582 */
  5345. 00003546  2F2F 0032                move.l     -[A7], [A7 + 0x32]
  5346. 0000354A  4EBA 1BAA                jsr        [PC + 0x1BAA /* 000050F6 */]
  5347. 0000354E  3F40 0008                move.w     [A7 + 0x8], D0
  5348. 00003552  584F                     addq.w     A7, 4
  5349. 00003554  670E                     beq        +0x10 /* 00003564 */
  5350. 00003556  302F 0004                move.w     D0, [A7 + 0x4]
  5351. 0000355A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5352. 0000355E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5353. 00003562  4E75                     rts
  5354. label00003564:
  5355. 00003564  2F2F 0032                move.l     -[A7], [A7 + 0x32]
  5356. 00003568  4EBA 2110                jsr        [PC + 0x2110 /* 0000567A */]
  5357. 0000356C  3F40 0008                move.w     [A7 + 0x8], D0
  5358. 00003570  584F                     addq.w     A7, 4
  5359. 00003572  670E                     beq        +0x10 /* 00003582 */
  5360. 00003574  302F 0004                move.w     D0, [A7 + 0x4]
  5361. 00003578  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5362. 0000357C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5363. 00003580  4E75                     rts
  5364. label00003582:
  5365. 00003582  206F 0032                movea.l    A0, [A7 + 0x32]
  5366. 00003586  202C 0018                move.l     D0, [A4 + 0x18]
  5367. 0000358A  D0A8 02E8                add.l      D0, [A0 + 0x2E8]
  5368. 0000358E  2F40 0006                move.l     [A7 + 0x6], D0
  5369. 00003592  4AAC 001C                tst.l      [A4 + 0x1C]
  5370. 00003596  6622                     bne        +0x24 /* 000035BA */
  5371. 00003598  720C                     moveq.l    D1, 0x0C
  5372. 0000359A  4EAD D8F8                jsr        [A5 - 0x2708]
  5373. 0000359E  2F00                     move.l     -[A7], D0
  5374. 000035A0  4EBA 2544                jsr        [PC + 0x2544 /* 00005AE6 */]
  5375. 000035A4  2948 001C                move.l     [A4 + 0x1C], A0
  5376. 000035A8  4AAC 001C                tst.l      [A4 + 0x1C]
  5377. 000035AC  584F                     addq.w     A7, 4
  5378. 000035AE  662E                     bne        +0x30 /* 000035DE */
  5379. 000035B0  3F7C 0001 0004           move.w     [A7 + 0x4], 0x1
  5380. 000035B6  6000 0152                bra        +0x154 /* 0000370A */
  5381. label000035BA:
  5382. 000035BA  720C                     moveq.l    D1, 0x0C
  5383. 000035BC  4EAD D8F8                jsr        [A5 - 0x2708]
  5384. 000035C0  2F00                     move.l     -[A7], D0
  5385. 000035C2  2F2C 001C                move.l     -[A7], [A4 + 0x1C]
  5386. 000035C6  4EBA 25D8                jsr        [PC + 0x25D8 /* 00005BA0 */]
  5387. 000035CA  4EBA 2514                jsr        [PC + 0x2514 /* 00005AE0 */]
  5388. 000035CE  4A40                     tst.w      D0
  5389. 000035D0  504F                     addq.w     A7, 8
  5390. 000035D2  670A                     beq        +0xC /* 000035DE */
  5391. 000035D4  3F7C 0001 0004           move.w     [A7 + 0x4], 0x1
  5392. 000035DA  6000 012E                bra        +0x130 /* 0000370A */
  5393. label000035DE:
  5394. 000035DE  206F 003A                movea.l    A0, [A7 + 0x3A]
  5395. 000035E2  4AA8 001C                tst.l      [A0 + 0x1C]
  5396. 000035E6  6700 00C4                beq        +0xC6 /* 000036AC */
  5397. 000035EA  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5398. 000035EE  4EBA 256E                jsr        [PC + 0x256E /* 00005B5E */]
  5399. 000035F2  2C48                     movea.l    A6, A0
  5400. 000035F4  2448                     movea.l    A2, A0
  5401. 000035F6  202C 0018                move.l     D0, [A4 + 0x18]
  5402. 000035FA  720C                     moveq.l    D1, 0x0C
  5403. 000035FC  4EAD D8F8                jsr        [A5 - 0x2708]
  5404. 00003600  2F40 0004                move.l     [A7 + 0x4], D0
  5405. 00003604  2F2C 001C                move.l     -[A7], [A4 + 0x1C]
  5406. 00003608  4EBA 2554                jsr        [PC + 0x2554 /* 00005B5E */]
  5407. 0000360C  D1EF 0008                add.l      A0, [A7 + 0x8]
  5408. 00003610  2648                     movea.l    A3, A0
  5409. 00003612  206F 003A                movea.l    A0, [A7 + 0x3A]
  5410. 00003616  2F28 02E0                move.l     -[A7], [A0 + 0x2E0]
  5411. 0000361A  4EBA 2542                jsr        [PC + 0x2542 /* 00005B5E */]
  5412. 0000361E  2448                     movea.l    A2, A0
  5413. 00003620  2E2C 0018                move.l     D7, [A4 + 0x18]
  5414. 00003624  206F 003E                movea.l    A0, [A7 + 0x3E]
  5415. 00003628  2C28 02E8                move.l     D6, [A0 + 0x2E8]
  5416. 0000362C  206F 0046                movea.l    A0, [A7 + 0x46]
  5417. 00003630  2A28 0018                move.l     D5, [A0 + 0x18]
  5418. 00003634  7800                     moveq.l    D4, 0x00
  5419. 00003636  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5420. 0000363A  6022                     bra        +0x24 /* 0000365E */
  5421. label0000363C:
  5422. 0000363C  244E                     movea.l    A2, A6
  5423. 0000363E  7600                     moveq.l    D3, 0x00
  5424. 00003640  600A                     bra        +0xC /* 0000364C */
  5425. label00003642:
  5426. 00003642  B892                     cmp.l      D4, [A2]
  5427. 00003644  670A                     beq        +0xC /* 00003650 */
  5428. 00003646  5283                     addq.l     D3, 1
  5429. 00003648  700C                     moveq.l    D0, 0x0C
  5430. 0000364A  D5C0                     add.l      A2, D0
  5431. label0000364C:
  5432. 0000364C  B685                     cmp.l      D3, D5
  5433. 0000364E  6DF2                     blt        -0xC /* 00003642 */
  5434. label00003650:
  5435. 00003650  B685                     cmp.l      D3, D5
  5436. 00003652  6D08                     blt        +0xA /* 0000365C */
  5437. 00003654  2684                     move.l     [A3], D4
  5438. 00003656  700C                     moveq.l    D0, 0x0C
  5439. 00003658  D7C0                     add.l      A3, D0
  5440. 0000365A  5287                     addq.l     D7, 1
  5441. label0000365C:
  5442. 0000365C  5284                     addq.l     D4, 1
  5443. label0000365E:
  5444. 0000365E  B886                     cmp.l      D4, D6
  5445. 00003660  6DDA                     blt        -0x24 /* 0000363C */
  5446. 00003662  206F 0032                movea.l    A0, [A7 + 0x32]
  5447. 00003666  2F28 02E0                move.l     -[A7], [A0 + 0x2E0]
  5448. 0000366A  4EBA 2518                jsr        [PC + 0x2518 /* 00005B84 */]
  5449. 0000366E  2F2C 001C                move.l     -[A7], [A4 + 0x1C]
  5450. 00003672  4EBA 2510                jsr        [PC + 0x2510 /* 00005B84 */]
  5451. 00003676  206F 0042                movea.l    A0, [A7 + 0x42]
  5452. 0000367A  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5453. 0000367E  4EBA 2504                jsr        [PC + 0x2504 /* 00005B84 */]
  5454. 00003682  296F 0012 0018           move.l     [A4 + 0x18], [A7 + 0x12]
  5455. 00003688  BEAF 0012                cmp.l      D7, [A7 + 0x12]
  5456. 0000368C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5457. 00003690  6778                     beq        +0x7A /* 0000370A */
  5458. 00003692  2007                     move.l     D0, D7
  5459. 00003694  720C                     moveq.l    D1, 0x0C
  5460. 00003696  4EAD D8F8                jsr        [A5 - 0x2708]
  5461. 0000369A  2F00                     move.l     -[A7], D0
  5462. 0000369C  2F2C 001C                move.l     -[A7], [A4 + 0x1C]
  5463. 000036A0  4EBA 24FE                jsr        [PC + 0x24FE /* 00005BA0 */]
  5464. 000036A4  2947 0018                move.l     [A4 + 0x18], D7
  5465. 000036A8  504F                     addq.w     A7, 8
  5466. 000036AA  605E                     bra        +0x60 /* 0000370A */
  5467. label000036AC:
  5468. 000036AC  202C 0018                move.l     D0, [A4 + 0x18]
  5469. 000036B0  720C                     moveq.l    D1, 0x0C
  5470. 000036B2  4EAD D8F8                jsr        [A5 - 0x2708]
  5471. 000036B6  2E80                     move.l     [A7], D0
  5472. 000036B8  2F2C 001C                move.l     -[A7], [A4 + 0x1C]
  5473. 000036BC  4EBA 24A0                jsr        [PC + 0x24A0 /* 00005B5E */]
  5474. 000036C0  D1EF 0004                add.l      A0, [A7 + 0x4]
  5475. 000036C4  2648                     movea.l    A3, A0
  5476. 000036C6  206F 0036                movea.l    A0, [A7 + 0x36]
  5477. 000036CA  2F28 02E0                move.l     -[A7], [A0 + 0x2E0]
  5478. 000036CE  4EBA 248E                jsr        [PC + 0x248E /* 00005B5E */]
  5479. 000036D2  2448                     movea.l    A2, A0
  5480. 000036D4  206F 003A                movea.l    A0, [A7 + 0x3A]
  5481. 000036D8  2C28 02E8                move.l     D6, [A0 + 0x2E8]
  5482. 000036DC  7800                     moveq.l    D4, 0x00
  5483. 000036DE  504F                     addq.w     A7, 8
  5484. 000036E0  6008                     bra        +0xA /* 000036EA */
  5485. label000036E2:
  5486. 000036E2  2684                     move.l     [A3], D4
  5487. 000036E4  700C                     moveq.l    D0, 0x0C
  5488. 000036E6  D7C0                     add.l      A3, D0
  5489. 000036E8  5284                     addq.l     D4, 1
  5490. label000036EA:
  5491. 000036EA  B886                     cmp.l      D4, D6
  5492. 000036EC  6DF4                     blt        -0xA /* 000036E2 */
  5493. 000036EE  206F 0032                movea.l    A0, [A7 + 0x32]
  5494. 000036F2  2F28 02E0                move.l     -[A7], [A0 + 0x2E0]
  5495. 000036F6  4EBA 248C                jsr        [PC + 0x248C /* 00005B84 */]
  5496. 000036FA  2F2C 001C                move.l     -[A7], [A4 + 0x1C]
  5497. 000036FE  4EBA 2484                jsr        [PC + 0x2484 /* 00005B84 */]
  5498. 00003702  296F 000E 0018           move.l     [A4 + 0x18], [A7 + 0xE]
  5499. 00003708  504F                     addq.w     A7, 8
  5500. label0000370A:
  5501. 0000370A  302F 0004                move.w     D0, [A7 + 0x4]
  5502. 0000370E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5503. 00003712  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5504. 00003716  4E75                     rts
  5505. fn00003718:
  5506. 00003718  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5507. 0000371C  4FEF FFF6                lea.l      A7, [A7 - 0xA]
  5508. 00003720  2C2F 0036                move.l     D6, [A7 + 0x36]
  5509. 00003724  7800                     moveq.l    D4, 0x00
  5510. 00003726  4257                     clr.w      [A7]
  5511. 00003728  2046                     movea.l    A0, D6
  5512. 0000372A  4AA8 0018                tst.l      [A0 + 0x18]
  5513. 0000372E  670A                     beq        +0xC /* 0000373A */
  5514. 00003730  206F 003A                movea.l    A0, [A7 + 0x3A]
  5515. 00003734  4AA8 0018                tst.l      [A0 + 0x18]
  5516. 00003738  6652                     bne        +0x54 /* 0000378C */
  5517. label0000373A:
  5518. 0000373A  206F 003A                movea.l    A0, [A7 + 0x3A]
  5519. 0000373E  4AA8 001C                tst.l      [A0 + 0x1C]
  5520. 00003742  670A                     beq        +0xC /* 0000374E */
  5521. 00003744  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5522. 00003748  4EBA 23F8                jsr        [PC + 0x23F8 /* 00005B42 */]
  5523. 0000374C  584F                     addq.w     A7, 4
  5524. label0000374E:
  5525. 0000374E  4878 000C                push.l     0xC
  5526. 00003752  42A7                     clr.l      -[A7]
  5527. 00003754  2F2F 0042                move.l     -[A7], [A7 + 0x42]
  5528. 00003758  4EAD D94C                jsr        [A5 - 0x26B4]
  5529. 0000375C  2046                     movea.l    A0, D6
  5530. 0000375E  4AA8 001C                tst.l      [A0 + 0x1C]
  5531. 00003762  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5532. 00003766  6710                     beq        +0x12 /* 00003778 */
  5533. 00003768  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5534. 0000376C  4EBA 23D4                jsr        [PC + 0x23D4 /* 00005B42 */]
  5535. 00003770  2046                     movea.l    A0, D6
  5536. 00003772  42A8 001C                clr.l      [A0 + 0x1C]
  5537. 00003776  584F                     addq.w     A7, 4
  5538. label00003778:
  5539. 00003778  206F 003A                movea.l    A0, [A7 + 0x3A]
  5540. 0000377C  42A8 0018                clr.l      [A0 + 0x18]
  5541. 00003780  7000                     moveq.l    D0, 0x00
  5542. 00003782  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5543. 00003786  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5544. 0000378A  4E75                     rts
  5545. label0000378C:
  5546. 0000378C  2046                     movea.l    A0, D6
  5547. 0000378E  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5548. 00003792  4EBA 23CA                jsr        [PC + 0x23CA /* 00005B5E */]
  5549. 00003796  2648                     movea.l    A3, A0
  5550. 00003798  206F 003E                movea.l    A0, [A7 + 0x3E]
  5551. 0000379C  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5552. 000037A0  4EBA 23BC                jsr        [PC + 0x23BC /* 00005B5E */]
  5553. 000037A4  2448                     movea.l    A2, A0
  5554. 000037A6  2046                     movea.l    A0, D6
  5555. 000037A8  2028 0018                move.l     D0, [A0 + 0x18]
  5556. 000037AC  720C                     moveq.l    D1, 0x0C
  5557. 000037AE  4EAD D8F8                jsr        [A5 - 0x2708]
  5558. 000037B2  204B                     movea.l    A0, A3
  5559. 000037B4  D1C0                     add.l      A0, D0
  5560. 000037B6  5188                     subq.l     A0, 8
  5561. 000037B8  5988                     subq.l     A0, 4
  5562. 000037BA  2848                     movea.l    A4, A0
  5563. 000037BC  206F 0042                movea.l    A0, [A7 + 0x42]
  5564. 000037C0  2028 0018                move.l     D0, [A0 + 0x18]
  5565. 000037C4  720C                     moveq.l    D1, 0x0C
  5566. 000037C6  4EAD D8F8                jsr        [A5 - 0x2708]
  5567. 000037CA  204A                     movea.l    A0, A2
  5568. 000037CC  D1C0                     add.l      A0, D0
  5569. 000037CE  5188                     subq.l     A0, 8
  5570. 000037D0  5988                     subq.l     A0, 4
  5571. 000037D2  2C48                     movea.l    A6, A0
  5572. 000037D4  2014                     move.l     D0, [A4]
  5573. 000037D6  B096                     cmp.l      D0, [A6]
  5574. 000037D8  504F                     addq.w     A7, 8
  5575. 000037DA  6C08                     bge        +0xA /* 000037E4 */
  5576. 000037DC  2E06                     move.l     D7, D6
  5577. 000037DE  2C6F 003A                movea.l    A6, [A7 + 0x3A]
  5578. 000037E2  600C                     bra        +0xE /* 000037F0 */
  5579. label000037E4:
  5580. 000037E4  284B                     movea.l    A4, A3
  5581. 000037E6  2E2F 003A                move.l     D7, [A7 + 0x3A]
  5582. 000037EA  2C46                     movea.l    A6, D6
  5583. 000037EC  264A                     movea.l    A3, A2
  5584. 000037EE  244C                     movea.l    A2, A4
  5585. label000037F0:
  5586. 000037F0  2F4A 0006                move.l     [A7 + 0x6], A2
  5587. 000037F4  2047                     movea.l    A0, D7
  5588. 000037F6  2028 0018                move.l     D0, [A0 + 0x18]
  5589. 000037FA  720C                     moveq.l    D1, 0x0C
  5590. 000037FC  4EAD D8F8                jsr        [A5 - 0x2708]
  5591. 00003800  2F00                     move.l     -[A7], D0
  5592. 00003802  4EBA 2306                jsr        [PC + 0x2306 /* 00005B0A */]
  5593. 00003806  2F48 0006                move.l     [A7 + 0x6], A0
  5594. 0000380A  4AAF 0006                tst.l      [A7 + 0x6]
  5595. 0000380E  584F                     addq.w     A7, 4
  5596. 00003810  6642                     bne        +0x44 /* 00003854 */
  5597. 00003812  2046                     movea.l    A0, D6
  5598. 00003814  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5599. 00003818  4EBA 236A                jsr        [PC + 0x236A /* 00005B84 */]
  5600. 0000381C  206F 003E                movea.l    A0, [A7 + 0x3E]
  5601. 00003820  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5602. 00003824  4EBA 235E                jsr        [PC + 0x235E /* 00005B84 */]
  5603. 00003828  2046                     movea.l    A0, D6
  5604. 0000382A  4AA8 001C                tst.l      [A0 + 0x1C]
  5605. 0000382E  504F                     addq.w     A7, 8
  5606. 00003830  670A                     beq        +0xC /* 0000383C */
  5607. 00003832  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5608. 00003836  4EBA 230A                jsr        [PC + 0x230A /* 00005B42 */]
  5609. 0000383A  584F                     addq.w     A7, 4
  5610. label0000383C:
  5611. 0000383C  4878 000C                push.l     0xC
  5612. 00003840  42A7                     clr.l      -[A7]
  5613. 00003842  2F06                     move.l     -[A7], D6
  5614. 00003844  4EAD D94C                jsr        [A5 - 0x26B4]
  5615. 00003848  7000                     moveq.l    D0, 0x00
  5616. 0000384A  4FEF 0016                lea.l      A7, [A7 + 0x16]
  5617. 0000384E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5618. 00003852  4E75                     rts
  5619. label00003854:
  5620. 00003854  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  5621. 00003858  4EBA 2304                jsr        [PC + 0x2304 /* 00005B5E */]
  5622. 0000385C  2848                     movea.l    A4, A0
  5623. 0000385E  7A00                     moveq.l    D5, 0x00
  5624. 00003860  584F                     addq.w     A7, 4
  5625. 00003862  602E                     bra        +0x30 /* 00003892 */
  5626. label00003864:
  5627. 00003864  246F 0006                movea.l    A2, [A7 + 0x6]
  5628. 00003868  7600                     moveq.l    D3, 0x00
  5629. 0000386A  601A                     bra        +0x1C /* 00003886 */
  5630. label0000386C:
  5631. 0000386C  2012                     move.l     D0, [A2]
  5632. 0000386E  B093                     cmp.l      D0, [A3]
  5633. 00003870  6E1A                     bgt        +0x1C /* 0000388C */
  5634. 00003872  2013                     move.l     D0, [A3]
  5635. 00003874  B092                     cmp.l      D0, [A2]
  5636. 00003876  6608                     bne        +0xA /* 00003880 */
  5637. 00003878  2893                     move.l     [A4], [A3]
  5638. 0000387A  700C                     moveq.l    D0, 0x0C
  5639. 0000387C  D9C0                     add.l      A4, D0
  5640. 0000387E  5284                     addq.l     D4, 1
  5641. label00003880:
  5642. 00003880  5283                     addq.l     D3, 1
  5643. 00003882  700C                     moveq.l    D0, 0x0C
  5644. 00003884  D5C0                     add.l      A2, D0
  5645. label00003886:
  5646. 00003886  B6AE 0018                cmp.l      D3, [A6 + 0x18]
  5647. 0000388A  6DE0                     blt        -0x1E /* 0000386C */
  5648. label0000388C:
  5649. 0000388C  5285                     addq.l     D5, 1
  5650. 0000388E  700C                     moveq.l    D0, 0x0C
  5651. 00003890  D7C0                     add.l      A3, D0
  5652. label00003892:
  5653. 00003892  2047                     movea.l    A0, D7
  5654. 00003894  BAA8 0018                cmp.l      D5, [A0 + 0x18]
  5655. 00003898  6DCA                     blt        -0x34 /* 00003864 */
  5656. 0000389A  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  5657. 0000389E  4EBA 22E4                jsr        [PC + 0x22E4 /* 00005B84 */]
  5658. 000038A2  4A6F 0004                tst.w      [A7 + 0x4]
  5659. 000038A6  584F                     addq.w     A7, 4
  5660. 000038A8  661C                     bne        +0x1E /* 000038C6 */
  5661. 000038AA  2047                     movea.l    A0, D7
  5662. 000038AC  B8A8 0018                cmp.l      D4, [A0 + 0x18]
  5663. 000038B0  6C14                     bge        +0x16 /* 000038C6 */
  5664. 000038B2  2004                     move.l     D0, D4
  5665. 000038B4  720C                     moveq.l    D1, 0x0C
  5666. 000038B6  4EAD D8F8                jsr        [A5 - 0x2708]
  5667. 000038BA  2F00                     move.l     -[A7], D0
  5668. 000038BC  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  5669. 000038C0  4EBA 22DE                jsr        [PC + 0x22DE /* 00005BA0 */]
  5670. 000038C4  504F                     addq.w     A7, 8
  5671. label000038C6:
  5672. 000038C6  2046                     movea.l    A0, D6
  5673. 000038C8  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5674. 000038CC  4EBA 22B6                jsr        [PC + 0x22B6 /* 00005B84 */]
  5675. 000038D0  206F 003E                movea.l    A0, [A7 + 0x3E]
  5676. 000038D4  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5677. 000038D8  4EBA 22AA                jsr        [PC + 0x22AA /* 00005B84 */]
  5678. 000038DC  2046                     movea.l    A0, D6
  5679. 000038DE  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5680. 000038E2  4EBA 225E                jsr        [PC + 0x225E /* 00005B42 */]
  5681. 000038E6  4A6F 000C                tst.w      [A7 + 0xC]
  5682. 000038EA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5683. 000038EE  660E                     bne        +0x10 /* 000038FE */
  5684. 000038F0  2046                     movea.l    A0, D6
  5685. 000038F2  216F 0002 001C           move.l     [A0 + 0x1C], [A7 + 0x2]
  5686. 000038F8  2144 0018                move.l     [A0 + 0x18], D4
  5687. 000038FC  6010                     bra        +0x12 /* 0000390E */
  5688. label000038FE:
  5689. 000038FE  4878 000C                push.l     0xC
  5690. 00003902  42A7                     clr.l      -[A7]
  5691. 00003904  2F06                     move.l     -[A7], D6
  5692. 00003906  4EAD D94C                jsr        [A5 - 0x26B4]
  5693. 0000390A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5694. label0000390E:
  5695. 0000390E  3017                     move.w     D0, [A7]
  5696. 00003910  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5697. 00003914  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5698. 00003918  4E75                     rts
  5699. fn0000391A:
  5700. 0000391A  7000                     moveq.l    D0, 0x00
  5701. 0000391C  4E75                     rts
  5702. fn0000391E:
  5703. 0000391E  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  5704. 00003922  286F 0024                movea.l    A4, [A7 + 0x24]
  5705. 00003926  2F2C 0310                move.l     -[A7], [A4 + 0x310]
  5706. 0000392A  4EBA C8B0                jsr        [PC - 0x3750 /* 000001DC */]
  5707. 0000392E  5380                     subq.l     D0, 1
  5708. 00003930  2600                     move.l     D3, D0
  5709. 00003932  2803                     move.l     D4, D3
  5710. 00003934  E48C                     lsr        D4, 2
  5711. 00003936  246F 002C                movea.l    A2, [A7 + 0x2C]
  5712. 0000393A  266F 0030                movea.l    A3, [A7 + 0x30]
  5713. 0000393E  2F2C 0310                move.l     -[A7], [A4 + 0x310]
  5714. 00003942  4EBA CACE                jsr        [PC - 0x3532 /* 00000412 */]
  5715. 00003946  2C00                     move.l     D6, D0
  5716. 00003948  2A03                     move.l     D5, D3
  5717. 0000394A  7203                     moveq.l    D1, 0x03
  5718. 0000394C  CA81                     and.l      D5, D1
  5719. 0000394E  2006                     move.l     D0, D6
  5720. 00003950  5380                     subq.l     D0, 1
  5721. 00003952  7208                     moveq.l    D1, 0x08
  5722. 00003954  4EAD D910                jsr        [A5 - 0x26F0]
  5723. 00003958  3E00                     move.w     D7, D0
  5724. 0000395A  7600                     moveq.l    D3, 0x00
  5725. 0000395C  504F                     addq.w     A7, 8
  5726. 0000395E  600C                     bra        +0xE /* 0000396C */
  5727. label00003960:
  5728. 00003960  2013                     move.l     D0, [A3]
  5729. 00003962  4680                     not.l      D0
  5730. 00003964  8192                     or.l       [A2], D0
  5731. 00003966  5283                     addq.l     D3, 1
  5732. 00003968  588A                     addq.l     A2, 4
  5733. 0000396A  588B                     addq.l     A3, 4
  5734. label0000396C:
  5735. 0000396C  B684                     cmp.l      D3, D4
  5736. 0000396E  6DF0                     blt        -0xE /* 00003960 */
  5737. 00003970  284A                     movea.l    A4, A2
  5738. 00003972  244B                     movea.l    A2, A3
  5739. 00003974  7600                     moveq.l    D3, 0x00
  5740. 00003976  6010                     bra        +0x12 /* 00003988 */
  5741. label00003978:
  5742. 00003978  1012                     move.b     D0, [A2]
  5743. 0000397A  4880                     ext.w      D0
  5744. 0000397C  48C0                     ext.l      D0
  5745. 0000397E  4680                     not.l      D0
  5746. 00003980  8114                     or.b       [A4], D0
  5747. 00003982  5283                     addq.l     D3, 1
  5748. 00003984  528C                     addq.l     A4, 1
  5749. 00003986  528A                     addq.l     A2, 1
  5750. label00003988:
  5751. 00003988  3005                     move.w     D0, D5
  5752. 0000398A  48C0                     ext.l      D0
  5753. 0000398C  B680                     cmp.l      D3, D0
  5754. 0000398E  6DE8                     blt        -0x16 /* 00003978 */
  5755. 00003990  0C47 0007                cmpi.w     D7, 0x7
  5756. 00003994  6716                     beq        +0x18 /* 000039AC */
  5757. 00003996  7680                     moveq.l    D3, 0xFFFFFF80
  5758. 00003998  EE23                     asr        D3.b, D7
  5759. 0000399A  1003                     move.b     D0, D3
  5760. 0000399C  4880                     ext.w      D0
  5761. 0000399E  48C0                     ext.l      D0
  5762. 000039A0  1212                     move.b     D1, [A2]
  5763. 000039A2  4881                     ext.w      D1
  5764. 000039A4  48C1                     ext.l      D1
  5765. 000039A6  4681                     not.l      D1
  5766. 000039A8  C280                     and.l      D1, D0
  5767. 000039AA  8314                     or.b       [A4], D1
  5768. label000039AC:
  5769. 000039AC  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  5770. 000039B0  4E75                     rts
  5771. fn000039B2:
  5772. 000039B2  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  5773. 000039B6  206F 001C                movea.l    A0, [A7 + 0x1C]
  5774. 000039BA  2F28 0310                move.l     -[A7], [A0 + 0x310]
  5775. 000039BE  4EBA C81C                jsr        [PC - 0x37E4 /* 000001DC */]
  5776. 000039C2  2600                     move.l     D3, D0
  5777. 000039C4  2803                     move.l     D4, D3
  5778. 000039C6  E48C                     lsr        D4, 2
  5779. 000039C8  246F 0024                movea.l    A2, [A7 + 0x24]
  5780. 000039CC  266F 0028                movea.l    A3, [A7 + 0x28]
  5781. 000039D0  2A03                     move.l     D5, D3
  5782. 000039D2  7203                     moveq.l    D1, 0x03
  5783. 000039D4  CA81                     and.l      D5, D1
  5784. 000039D6  7600                     moveq.l    D3, 0x00
  5785. 000039D8  584F                     addq.w     A7, 4
  5786. 000039DA  600A                     bra        +0xC /* 000039E6 */
  5787. label000039DC:
  5788. 000039DC  2013                     move.l     D0, [A3]
  5789. 000039DE  C192                     .incomplete
  5790. 000039E0  5283                     addq.l     D3, 1
  5791. 000039E2  588A                     addq.l     A2, 4
  5792. 000039E4  588B                     addq.l     A3, 4
  5793. label000039E6:
  5794. 000039E6  B684                     cmp.l      D3, D4
  5795. 000039E8  6DF2                     blt        -0xC /* 000039DC */
  5796. 000039EA  284A                     movea.l    A4, A2
  5797. 000039EC  244B                     movea.l    A2, A3
  5798. 000039EE  7600                     moveq.l    D3, 0x00
  5799. 000039F0  600A                     bra        +0xC /* 000039FC */
  5800. label000039F2:
  5801. 000039F2  1012                     move.b     D0, [A2]
  5802. 000039F4  C114                     .incomplete
  5803. 000039F6  5283                     addq.l     D3, 1
  5804. 000039F8  528C                     addq.l     A4, 1
  5805. 000039FA  528A                     addq.l     A2, 1
  5806. label000039FC:
  5807. 000039FC  3005                     move.w     D0, D5
  5808. 000039FE  48C0                     ext.l      D0
  5809. 00003A00  B680                     cmp.l      D3, D0
  5810. 00003A02  6DEE                     blt        -0x10 /* 000039F2 */
  5811. 00003A04  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5812. 00003A08  4E75                     rts
  5813. fn00003A0A:
  5814. 00003A0A  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  5815. 00003A0E  206F 001C                movea.l    A0, [A7 + 0x1C]
  5816. 00003A12  2F28 0310                move.l     -[A7], [A0 + 0x310]
  5817. 00003A16  4EBA C7C4                jsr        [PC - 0x383C /* 000001DC */]
  5818. 00003A1A  2600                     move.l     D3, D0
  5819. 00003A1C  2803                     move.l     D4, D3
  5820. 00003A1E  E48C                     lsr        D4, 2
  5821. 00003A20  246F 0024                movea.l    A2, [A7 + 0x24]
  5822. 00003A24  266F 0028                movea.l    A3, [A7 + 0x28]
  5823. 00003A28  2A03                     move.l     D5, D3
  5824. 00003A2A  7203                     moveq.l    D1, 0x03
  5825. 00003A2C  CA81                     and.l      D5, D1
  5826. 00003A2E  7600                     moveq.l    D3, 0x00
  5827. 00003A30  584F                     addq.w     A7, 4
  5828. 00003A32  600C                     bra        +0xE /* 00003A40 */
  5829. label00003A34:
  5830. 00003A34  2013                     move.l     D0, [A3]
  5831. 00003A36  4680                     not.l      D0
  5832. 00003A38  C192                     .incomplete
  5833. 00003A3A  5283                     addq.l     D3, 1
  5834. 00003A3C  588A                     addq.l     A2, 4
  5835. 00003A3E  588B                     addq.l     A3, 4
  5836. label00003A40:
  5837. 00003A40  B684                     cmp.l      D3, D4
  5838. 00003A42  6DF0                     blt        -0xE /* 00003A34 */
  5839. 00003A44  284A                     movea.l    A4, A2
  5840. 00003A46  244B                     movea.l    A2, A3
  5841. 00003A48  7600                     moveq.l    D3, 0x00
  5842. 00003A4A  6010                     bra        +0x12 /* 00003A5C */
  5843. label00003A4C:
  5844. 00003A4C  1012                     move.b     D0, [A2]
  5845. 00003A4E  4880                     ext.w      D0
  5846. 00003A50  48C0                     ext.l      D0
  5847. 00003A52  4680                     not.l      D0
  5848. 00003A54  C114                     .incomplete
  5849. 00003A56  5283                     addq.l     D3, 1
  5850. 00003A58  528C                     addq.l     A4, 1
  5851. 00003A5A  528A                     addq.l     A2, 1
  5852. label00003A5C:
  5853. 00003A5C  3005                     move.w     D0, D5
  5854. 00003A5E  48C0                     ext.l      D0
  5855. 00003A60  B680                     cmp.l      D3, D0
  5856. 00003A62  6DE8                     blt        -0x16 /* 00003A4C */
  5857. 00003A64  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  5858. 00003A68  4E75                     rts
  5859. fn00003A6A:
  5860. 00003A6A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5861. 00003A6E  4FEF FFE6                lea.l      A7, [A7 - 0x1A]
  5862. 00003A72  2C6F 0042                movea.l    A6, [A7 + 0x42]
  5863. 00003A76  426F 0004                clr.w      [A7 + 0x4]
  5864. 00003A7A  206F 0046                movea.l    A0, [A7 + 0x46]
  5865. 00003A7E  4AA8 001C                tst.l      [A0 + 0x1C]
  5866. 00003A82  660C                     bne        +0xE /* 00003A90 */
  5867. 00003A84  7000                     moveq.l    D0, 0x00
  5868. 00003A86  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  5869. 00003A8A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5870. 00003A8E  4E75                     rts
  5871. label00003A90:
  5872. 00003A90  206F 004A                movea.l    A0, [A7 + 0x4A]
  5873. 00003A94  4AA8 001C                tst.l      [A0 + 0x1C]
  5874. 00003A98  6620                     bne        +0x22 /* 00003ABA */
  5875. 00003A9A  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5876. 00003A9E  4EBA 20A2                jsr        [PC + 0x20A2 /* 00005B42 */]
  5877. 00003AA2  206F 004E                movea.l    A0, [A7 + 0x4E]
  5878. 00003AA6  42A8 001C                clr.l      [A0 + 0x1C]
  5879. 00003AAA  42A8 0018                clr.l      [A0 + 0x18]
  5880. 00003AAE  7000                     moveq.l    D0, 0x00
  5881. 00003AB0  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  5882. 00003AB4  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5883. 00003AB8  4E75                     rts
  5884. label00003ABA:
  5885. 00003ABA  42AF 0006                clr.l      [A7 + 0x6]
  5886. 00003ABE  206F 0046                movea.l    A0, [A7 + 0x46]
  5887. 00003AC2  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5888. 00003AC6  4EBA 2096                jsr        [PC + 0x2096 /* 00005B5E */]
  5889. 00003ACA  2F48 0004                move.l     [A7 + 0x4], A0
  5890. 00003ACE  206F 004E                movea.l    A0, [A7 + 0x4E]
  5891. 00003AD2  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  5892. 00003AD6  4EBA 2086                jsr        [PC + 0x2086 /* 00005B5E */]
  5893. 00003ADA  2F48 0016                move.l     [A7 + 0x16], A0
  5894. 00003ADE  246F 0008                movea.l    A2, [A7 + 0x8]
  5895. 00003AE2  2648                     movea.l    A3, A0
  5896. 00003AE4  206F 004E                movea.l    A0, [A7 + 0x4E]
  5897. 00003AE8  2F68 0018 0012           move.l     [A7 + 0x12], [A0 + 0x18]
  5898. 00003AEE  206F 0052                movea.l    A0, [A7 + 0x52]
  5899. 00003AF2  2A28 0018                move.l     D5, [A0 + 0x18]
  5900. 00003AF6  78FF                     moveq.l    D4, 0xFFFFFFFF
  5901. 00003AF8  206E 02CC                movea.l    A0, [A6 + 0x2CC]
  5902. 00003AFC  2C28 0002                move.l     D6, [A0 + 0x2]
  5903. 00003B00  42AF 001A                clr.l      [A7 + 0x1A]
  5904. 00003B04  206E 02CC                movea.l    A0, [A6 + 0x2CC]
  5905. 00003B08  1E10                     move.b     D7, [A0]
  5906. 00003B0A  4887                     ext.w      D7
  5907. 00003B0C  42AF 001E                clr.l      [A7 + 0x1E]
  5908. 00003B10  504F                     addq.w     A7, 8
  5909. 00003B12  6040                     bra        +0x42 /* 00003B54 */
  5910. label00003B14:
  5911. 00003B14  266F 000E                movea.l    A3, [A7 + 0xE]
  5912. 00003B18  7600                     moveq.l    D3, 0x00
  5913. 00003B1A  602C                     bra        +0x2E /* 00003B48 */
  5914. label00003B1C:
  5915. 00003B1C  2F06                     move.l     -[A7], D6
  5916. 00003B1E  3F07                     move.w     -[A7], D7
  5917. 00003B20  2F13                     move.l     -[A7], [A3]
  5918. 00003B22  2F12                     move.l     -[A7], [A2]
  5919. 00003B24  2F0E                     move.l     -[A7], A6
  5920. 00003B26  4EBA F988                jsr        [PC - 0x678 /* 000034B0 */]
  5921. 00003B2A  4A40                     tst.w      D0
  5922. 00003B2C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5923. 00003B30  6710                     beq        +0x12 /* 00003B42 */
  5924. 00003B32  B892                     cmp.l      D4, [A2]
  5925. 00003B34  6708                     beq        +0xA /* 00003B3E */
  5926. 00003B36  54AF 0012                addq.l     [A7 + 0x12], 2
  5927. 00003B3A  2812                     move.l     D4, [A2]
  5928. 00003B3C  6004                     bra        +0x6 /* 00003B42 */
  5929. label00003B3E:
  5930. 00003B3E  52AF 0012                addq.l     [A7 + 0x12], 1
  5931. label00003B42:
  5932. 00003B42  5283                     addq.l     D3, 1
  5933. 00003B44  700C                     moveq.l    D0, 0x0C
  5934. 00003B46  D7C0                     add.l      A3, D0
  5935. label00003B48:
  5936. 00003B48  B685                     cmp.l      D3, D5
  5937. 00003B4A  6DD0                     blt        -0x2E /* 00003B1C */
  5938. 00003B4C  52AF 0016                addq.l     [A7 + 0x16], 1
  5939. 00003B50  700C                     moveq.l    D0, 0x0C
  5940. 00003B52  D5C0                     add.l      A2, D0
  5941. label00003B54:
  5942. 00003B54  202F 0016                move.l     D0, [A7 + 0x16]
  5943. 00003B58  B0AF 000A                cmp.l      D0, [A7 + 0xA]
  5944. 00003B5C  6DB6                     blt        -0x48 /* 00003B14 */
  5945. 00003B5E  4AAF 0012                tst.l      [A7 + 0x12]
  5946. 00003B62  6700 00D4                beq        +0xD6 /* 00003C38 */
  5947. 00003B66  4A6F 0004                tst.w      [A7 + 0x4]
  5948. 00003B6A  6600 00CC                bne        +0xCE /* 00003C38 */
  5949. 00003B6E  202F 0012                move.l     D0, [A7 + 0x12]
  5950. 00003B72  720C                     moveq.l    D1, 0x0C
  5951. 00003B74  4EAD D8F8                jsr        [A5 - 0x2708]
  5952. 00003B78  2F00                     move.l     -[A7], D0
  5953. 00003B7A  4EBA 1F8E                jsr        [PC + 0x1F8E /* 00005B0A */]
  5954. 00003B7E  2F48 000A                move.l     [A7 + 0xA], A0
  5955. 00003B82  4AAF 000A                tst.l      [A7 + 0xA]
  5956. 00003B86  584F                     addq.w     A7, 4
  5957. 00003B88  660A                     bne        +0xC /* 00003B94 */
  5958. 00003B8A  3F7C 0001 0004           move.w     [A7 + 0x4], 0x1
  5959. 00003B90  6000 0096                bra        +0x98 /* 00003C28 */
  5960. label00003B94:
  5961. 00003B94  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  5962. 00003B98  4EBA 1FC4                jsr        [PC + 0x1FC4 /* 00005B5E */]
  5963. 00003B9C  2848                     movea.l    A4, A0
  5964. 00003B9E  78FF                     moveq.l    D4, 0xFFFFFFFF
  5965. 00003BA0  246F 0004                movea.l    A2, [A7 + 0x4]
  5966. 00003BA4  42AF 001A                clr.l      [A7 + 0x1A]
  5967. 00003BA8  584F                     addq.w     A7, 4
  5968. 00003BAA  6072                     bra        +0x74 /* 00003C1E */
  5969. label00003BAC:
  5970. 00003BAC  266F 000E                movea.l    A3, [A7 + 0xE]
  5971. 00003BB0  7600                     moveq.l    D3, 0x00
  5972. 00003BB2  605E                     bra        +0x60 /* 00003C12 */
  5973. label00003BB4:
  5974. 00003BB4  2F06                     move.l     -[A7], D6
  5975. 00003BB6  3F07                     move.w     -[A7], D7
  5976. 00003BB8  2F13                     move.l     -[A7], [A3]
  5977. 00003BBA  2F12                     move.l     -[A7], [A2]
  5978. 00003BBC  2F0E                     move.l     -[A7], A6
  5979. 00003BBE  4EBA F8F0                jsr        [PC - 0x710 /* 000034B0 */]
  5980. 00003BC2  4A40                     tst.w      D0
  5981. 00003BC4  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5982. 00003BC8  6742                     beq        +0x44 /* 00003C0C */
  5983. 00003BCA  B892                     cmp.l      D4, [A2]
  5984. 00003BCC  672A                     beq        +0x2C /* 00003BF8 */
  5985. 00003BCE  204C                     movea.l    A0, A4
  5986. 00003BD0  700C                     moveq.l    D0, 0x0C
  5987. 00003BD2  D9C0                     add.l      A4, D0
  5988. 00003BD4  2092                     move.l     [A0], [A2]
  5989. 00003BD6  216A 0004 0004           move.l     [A0 + 0x4], [A2 + 0x4]
  5990. 00003BDC  216A 0008 0008           move.l     [A0 + 0x8], [A2 + 0x8]
  5991. 00003BE2  204C                     movea.l    A0, A4
  5992. 00003BE4  D9C0                     add.l      A4, D0
  5993. 00003BE6  2093                     move.l     [A0], [A3]
  5994. 00003BE8  216B 0004 0004           move.l     [A0 + 0x4], [A3 + 0x4]
  5995. 00003BEE  216B 0008 0008           move.l     [A0 + 0x8], [A3 + 0x8]
  5996. 00003BF4  2812                     move.l     D4, [A2]
  5997. 00003BF6  6014                     bra        +0x16 /* 00003C0C */
  5998. label00003BF8:
  5999. 00003BF8  204C                     movea.l    A0, A4
  6000. 00003BFA  700C                     moveq.l    D0, 0x0C
  6001. 00003BFC  D9C0                     add.l      A4, D0
  6002. 00003BFE  2093                     move.l     [A0], [A3]
  6003. 00003C00  216B 0004 0004           move.l     [A0 + 0x4], [A3 + 0x4]
  6004. 00003C06  216B 0008 0008           move.l     [A0 + 0x8], [A3 + 0x8]
  6005. label00003C0C:
  6006. 00003C0C  5283                     addq.l     D3, 1
  6007. 00003C0E  700C                     moveq.l    D0, 0x0C
  6008. 00003C10  D7C0                     add.l      A3, D0
  6009. label00003C12:
  6010. 00003C12  B685                     cmp.l      D3, D5
  6011. 00003C14  6D9E                     blt        -0x60 /* 00003BB4 */
  6012. 00003C16  52AF 0016                addq.l     [A7 + 0x16], 1
  6013. 00003C1A  700C                     moveq.l    D0, 0x0C
  6014. 00003C1C  D5C0                     add.l      A2, D0
  6015. label00003C1E:
  6016. 00003C1E  202F 0016                move.l     D0, [A7 + 0x16]
  6017. 00003C22  B0AF 000A                cmp.l      D0, [A7 + 0xA]
  6018. 00003C26  6D84                     blt        -0x7A /* 00003BAC */
  6019. label00003C28:
  6020. 00003C28  4AAF 0006                tst.l      [A7 + 0x6]
  6021. 00003C2C  670A                     beq        +0xC /* 00003C38 */
  6022. 00003C2E  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  6023. 00003C32  4EBA 1F50                jsr        [PC + 0x1F50 /* 00005B84 */]
  6024. 00003C36  584F                     addq.w     A7, 4
  6025. label00003C38:
  6026. 00003C38  206F 004A                movea.l    A0, [A7 + 0x4A]
  6027. 00003C3C  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  6028. 00003C40  4EBA 1F42                jsr        [PC + 0x1F42 /* 00005B84 */]
  6029. 00003C44  206F 004A                movea.l    A0, [A7 + 0x4A]
  6030. 00003C48  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  6031. 00003C4C  4EBA 1F36                jsr        [PC + 0x1F36 /* 00005B84 */]
  6032. 00003C50  206F 004E                movea.l    A0, [A7 + 0x4E]
  6033. 00003C54  42A8 0018                clr.l      [A0 + 0x18]
  6034. 00003C58  2048                     movea.l    A0, A0
  6035. 00003C5A  4AA8 001C                tst.l      [A0 + 0x1C]
  6036. 00003C5E  504F                     addq.w     A7, 8
  6037. 00003C60  6716                     beq        +0x18 /* 00003C78 */
  6038. 00003C62  206F 0046                movea.l    A0, [A7 + 0x46]
  6039. 00003C66  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  6040. 00003C6A  4EBA 1ED6                jsr        [PC + 0x1ED6 /* 00005B42 */]
  6041. 00003C6E  206F 004A                movea.l    A0, [A7 + 0x4A]
  6042. 00003C72  42A8 001C                clr.l      [A0 + 0x1C]
  6043. 00003C76  584F                     addq.w     A7, 4
  6044. label00003C78:
  6045. 00003C78  4AAF 0012                tst.l      [A7 + 0x12]
  6046. 00003C7C  6716                     beq        +0x18 /* 00003C94 */
  6047. 00003C7E  4A6F 0004                tst.w      [A7 + 0x4]
  6048. 00003C82  6610                     bne        +0x12 /* 00003C94 */
  6049. 00003C84  206F 0046                movea.l    A0, [A7 + 0x46]
  6050. 00003C88  216F 0012 0018           move.l     [A0 + 0x18], [A7 + 0x12]
  6051. 00003C8E  216F 0006 001C           move.l     [A0 + 0x1C], [A7 + 0x6]
  6052. label00003C94:
  6053. 00003C94  302F 0004                move.w     D0, [A7 + 0x4]
  6054. 00003C98  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  6055. 00003C9C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6056. 00003CA0  4E75                     rts
  6057. fn00003CA2:
  6058. 00003CA2  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6059. 00003CA6  4FEF FFA2                lea.l      A7, [A7 - 0x5E]
  6060. 00003CAA  286F 0086                movea.l    A4, [A7 + 0x86]
  6061. 00003CAE  9DCE                     sub.l      A6, A6
  6062. 00003CB0  95CA                     sub.l      A2, A2
  6063. 00003CB2  7A00                     moveq.l    D5, 0x00
  6064. 00003CB4  42AF 0024                clr.l      [A7 + 0x24]
  6065. 00003CB8  7E00                     moveq.l    D7, 0x00
  6066. 00003CBA  97CB                     sub.l      A3, A3
  6067. 00003CBC  42AF 0020                clr.l      [A7 + 0x20]
  6068. 00003CC0  7800                     moveq.l    D4, 0x00
  6069. 00003CC2  2F2C 0310                move.l     -[A7], [A4 + 0x310]
  6070. 00003CC6  4EBA C514                jsr        [PC - 0x3AEC /* 000001DC */]
  6071. 00003CCA  2600                     move.l     D3, D0
  6072. 00003CCC  206F 0090                movea.l    A0, [A7 + 0x90]
  6073. 00003CD0  4290                     clr.l      [A0]
  6074. 00003CD2  2F03                     move.l     -[A7], D3
  6075. 00003CD4  4EAD EC40                jsr        [A5 - 0x13C0]
  6076. 00003CD8  2C48                     movea.l    A6, A0
  6077. 00003CDA  200E                     move.l     D0, A6
  6078. 00003CDC  504F                     addq.w     A7, 8
  6079. 00003CDE  660C                     bne        +0xE /* 00003CEC */
  6080. 00003CE0  7001                     moveq.l    D0, 0x01
  6081. 00003CE2  4FEF 005E                lea.l      A7, [A7 + 0x5E]
  6082. 00003CE6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6083. 00003CEA  4E75                     rts
  6084. label00003CEC:
  6085. 00003CEC  2F03                     move.l     -[A7], D3
  6086. 00003CEE  4EAD EC40                jsr        [A5 - 0x13C0]
  6087. 00003CF2  2E08                     move.l     D7, A0
  6088. 00003CF4  4A87                     tst.l      D7
  6089. 00003CF6  584F                     addq.w     A7, 4
  6090. 00003CF8  6606                     bne        +0x8 /* 00003D00 */
  6091. 00003CFA  7A01                     moveq.l    D5, 0x01
  6092. 00003CFC  6000 0272                bra        +0x274 /* 00003F70 */
  6093. label00003D00:
  6094. 00003D00  306F 008A                movea.w    A0, [A7 + 0x8A]
  6095. 00003D04  2008                     move.l     D0, A0
  6096. 00003D06  E588                     lsl        D0, 2
  6097. 00003D08  206C 021A                movea.l    A0, [A4 + 0x21A]
  6098. 00003D0C  2470 0800                movea.l    A2, [A0 + D0]
  6099. 00003D10  6000 0258                bra        +0x25A /* 00003F6A */
  6100. label00003D14:
  6101. 00003D14  97CB                     sub.l      A3, A3
  6102. 00003D16  42AF 0024                clr.l      [A7 + 0x24]
  6103. 00003D1A  7800                     moveq.l    D4, 0x00
  6104. 00003D1C  1C1A                     move.b     D6, [A2]+
  6105. 00003D1E  101A                     move.b     D0, [A2]+
  6106. 00003D20  4880                     ext.w      D0
  6107. 00003D22  C1FC 0006                muls.w     D0, 0x6
  6108. 00003D26  206C 0210                movea.l    A0, [A4 + 0x210]
  6109. 00003D2A  D1C0                     add.l      A0, D0
  6110. 00003D2C  5D88                     subq.l     A0, 6
  6111. 00003D2E  2F48 0020                move.l     [A7 + 0x20], A0
  6112. 00003D32  181A                     move.b     D4, [A2]+
  6113. 00003D34  1A1A                     move.b     D5, [A2]+
  6114. 00003D36  4885                     ext.w      D5
  6115. 00003D38  2048                     movea.l    A0, A0
  6116. 00003D3A  4A10                     tst.b      [A0]
  6117. 00003D3C  6704                     beq        +0x6 /* 00003D42 */
  6118. 00003D3E  426C 02CA                clr.w      [A4 + 0x2CA]
  6119. label00003D42:
  6120. 00003D42  0C45 0001                cmpi.w     D5, 0x1
  6121. 00003D46  6772                     beq        +0x74 /* 00003DBA */
  6122. 00003D48  486F 0024                pea.l      [A7 + 0x24]
  6123. 00003D4C  101A                     move.b     D0, [A2]+
  6124. 00003D4E  4880                     ext.w      D0
  6125. 00003D50  3F00                     move.w     -[A7], D0
  6126. 00003D52  2F0C                     move.l     -[A7], A4
  6127. 00003D54  4EBA FF4C                jsr        [PC - 0xB4 /* 00003CA2 */]
  6128. 00003D58  3A00                     move.w     D5, D0
  6129. 00003D5A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6130. 00003D5E  6600 0210                bne        +0x212 /* 00003F70 */
  6131. 00003D62  2F03                     move.l     -[A7], D3
  6132. 00003D64  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  6133. 00003D68  4EAD EC50                jsr        [A5 - 0x13B0]
  6134. 00003D6C  4A40                     tst.w      D0
  6135. 00003D6E  504F                     addq.w     A7, 8
  6136. 00003D70  6606                     bne        +0x8 /* 00003D78 */
  6137. 00003D72  266F 0024                movea.l    A3, [A7 + 0x24]
  6138. 00003D76  603A                     bra        +0x3C /* 00003DB2 */
  6139. label00003D78:
  6140. 00003D78  0C04 0001                cmpi.b     D4, 0x1
  6141. 00003D7C  6620                     bne        +0x22 /* 00003D9E */
  6142. 00003D7E  4AAF 0024                tst.l      [A7 + 0x24]
  6143. 00003D82  670A                     beq        +0xC /* 00003D8E */
  6144. 00003D84  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  6145. 00003D88  4EBA 1E96                jsr        [PC + 0x1E96 /* 00005C20 */]
  6146. 00003D8C  584F                     addq.w     A7, 4
  6147. label00003D8E:
  6148. 00003D8E  200B                     move.l     D0, A3
  6149. 00003D90  6708                     beq        +0xA /* 00003D9A */
  6150. 00003D92  2F0B                     move.l     -[A7], A3
  6151. 00003D94  4EBA 1E8A                jsr        [PC + 0x1E8A /* 00005C20 */]
  6152. 00003D98  584F                     addq.w     A7, 4
  6153. label00003D9A:
  6154. 00003D9A  97CB                     sub.l      A3, A3
  6155. 00003D9C  6014                     bra        +0x16 /* 00003DB2 */
  6156. label00003D9E:
  6157. 00003D9E  2F03                     move.l     -[A7], D3
  6158. 00003DA0  42A7                     clr.l      -[A7]
  6159. 00003DA2  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  6160. 00003DA6  4EAD D94C                jsr        [A5 - 0x26B4]
  6161. 00003DAA  266F 0030                movea.l    A3, [A7 + 0x30]
  6162. 00003DAE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6163. label00003DB2:
  6164. 00003DB2  42AF 0024                clr.l      [A7 + 0x24]
  6165. 00003DB6  6000 00EC                bra        +0xEE /* 00003EA4 */
  6166. label00003DBA:
  6167. 00003DBA  101A                     move.b     D0, [A2]+
  6168. 00003DBC  4880                     ext.w      D0
  6169. 00003DBE  C1FC 000C                muls.w     D0, 0xC
  6170. 00003DC2  206C 020A                movea.l    A0, [A4 + 0x20A]
  6171. 00003DC6  D1C0                     add.l      A0, D0
  6172. 00003DC8  5188                     subq.l     A0, 8
  6173. 00003DCA  5988                     subq.l     A0, 4
  6174. 00003DCC  2A08                     move.l     D5, A0
  6175. 00003DCE  4878 0020                push.l     0x20 /* ' ' */
  6176. 00003DD2  42A7                     clr.l      -[A7]
  6177. 00003DD4  486F 0008                pea.l      [A7 + 0x8]
  6178. 00003DD8  4EAD D94C                jsr        [A5 - 0x26B4]
  6179. 00003DDC  4878 0036                push.l     0x36 /* '6' */
  6180. 00003DE0  42A7                     clr.l      -[A7]
  6181. 00003DE2  486F 003C                pea.l      [A7 + 0x3C]
  6182. 00003DE6  4EAD D94C                jsr        [A5 - 0x26B4]
  6183. 00003DEA  41EF 0018                lea.l      A0, [A7 + 0x18]
  6184. 00003DEE  2F48 0040                move.l     [A7 + 0x40], A0
  6185. 00003DF2  426F 0044                clr.w      [A7 + 0x44]
  6186. 00003DF6  206F 0040                movea.l    A0, [A7 + 0x40]
  6187. 00003DFA  2143 0010                move.l     [A0 + 0x10], D3
  6188. 00003DFE  2647                     movea.l    A3, D7
  6189. 00003E00  206F 0040                movea.l    A0, [A7 + 0x40]
  6190. 00003E04  2147 000C                move.l     [A0 + 0xC], D7
  6191. 00003E08  2045                     movea.l    A0, D5
  6192. 00003E0A  226F 0040                movea.l    A1, [A7 + 0x40]
  6193. 00003E0E  2290                     move.l     [A1], [A0]
  6194. 00003E10  226F 0040                movea.l    A1, [A7 + 0x40]
  6195. 00003E14  3368 0004 0008           move.w     [A1 + 0x8], [A0 + 0x4]
  6196. 00003E1A  426F 0070                clr.w      [A7 + 0x70]
  6197. 00003E1E  0C06 0004                cmpi.b     D6, 0x4
  6198. 00003E22  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6199. 00003E26  6640                     bne        +0x42 /* 00003E68 */
  6200. 00003E28  1012                     move.b     D0, [A2]
  6201. 00003E2A  4880                     ext.w      D0
  6202. 00003E2C  48C0                     ext.l      D0
  6203. 00003E2E  D5C0                     add.l      A2, D0
  6204. 00003E30  7C03                     moveq.l    D6, 0x03
  6205. 00003E32  3F7C 0001 0058           move.w     [A7 + 0x58], 0x1
  6206. 00003E38  528A                     addq.l     A2, 1
  6207. 00003E3A  528A                     addq.l     A2, 1
  6208. 00003E3C  528A                     addq.l     A2, 1
  6209. 00003E3E  528A                     addq.l     A2, 1
  6210. 00003E40  101A                     move.b     D0, [A2]+
  6211. 00003E42  4880                     ext.w      D0
  6212. 00003E44  C1FC 000C                muls.w     D0, 0xC
  6213. 00003E48  206C 020A                movea.l    A0, [A4 + 0x20A]
  6214. 00003E4C  D1C0                     add.l      A0, D0
  6215. 00003E4E  5188                     subq.l     A0, 8
  6216. 00003E50  5988                     subq.l     A0, 4
  6217. 00003E52  2A08                     move.l     D5, A0
  6218. 00003E54  2045                     movea.l    A0, D5
  6219. 00003E56  226F 0028                movea.l    A1, [A7 + 0x28]
  6220. 00003E5A  2350 0004                move.l     [A1 + 0x4], [A0]
  6221. 00003E5E  226F 0028                movea.l    A1, [A7 + 0x28]
  6222. 00003E62  3368 0004 000A           move.w     [A1 + 0xA], [A0 + 0x4]
  6223. label00003E68:
  6224. 00003E68  486F 0028                pea.l      [A7 + 0x28]
  6225. 00003E6C  2F2C 0310                move.l     -[A7], [A4 + 0x310]
  6226. 00003E70  4EBA C390                jsr        [PC - 0x3C70 /* 00000202 */]
  6227. 00003E74  3A00                     move.w     D5, D0
  6228. 00003E76  504F                     addq.w     A7, 8
  6229. 00003E78  670C                     beq        +0xE /* 00003E86 */
  6230. 00003E7A  3005                     move.w     D0, D5
  6231. 00003E7C  4FEF 005E                lea.l      A7, [A7 + 0x5E]
  6232. 00003E80  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6233. 00003E84  4E75                     rts
  6234. label00003E86:
  6235. 00003E86  4AAF 0036                tst.l      [A7 + 0x36]
  6236. 00003E8A  6618                     bne        +0x1A /* 00003EA4 */
  6237. 00003E8C  0C04 0001                cmpi.b     D4, 0x1
  6238. 00003E90  6604                     bne        +0x6 /* 00003E96 */
  6239. 00003E92  97CB                     sub.l      A3, A3
  6240. 00003E94  600E                     bra        +0x10 /* 00003EA4 */
  6241. label00003E96:
  6242. 00003E96  2F03                     move.l     -[A7], D3
  6243. 00003E98  42A7                     clr.l      -[A7]
  6244. 00003E9A  2F0B                     move.l     -[A7], A3
  6245. 00003E9C  4EAD D94C                jsr        [A5 - 0x26B4]
  6246. 00003EA0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6247. label00003EA4:
  6248. 00003EA4  200B                     move.l     D0, A3
  6249. 00003EA6  6634                     bne        +0x36 /* 00003EDC */
  6250. 00003EA8  0C04 0001                cmpi.b     D4, 0x1
  6251. 00003EAC  6622                     bne        +0x24 /* 00003ED0 */
  6252. 00003EAE  0C06 0001                cmpi.b     D6, 0x1
  6253. 00003EB2  660E                     bne        +0x10 /* 00003EC2 */
  6254. 00003EB4  2F03                     move.l     -[A7], D3
  6255. 00003EB6  42A7                     clr.l      -[A7]
  6256. 00003EB8  2F0E                     move.l     -[A7], A6
  6257. 00003EBA  4EAD D94C                jsr        [A5 - 0x26B4]
  6258. 00003EBE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6259. label00003EC2:
  6260. 00003EC2  528A                     addq.l     A2, 1
  6261. 00003EC4  1012                     move.b     D0, [A2]
  6262. 00003EC6  4880                     ext.w      D0
  6263. 00003EC8  48C0                     ext.l      D0
  6264. 00003ECA  D5C0                     add.l      A2, D0
  6265. 00003ECC  6000 008E                bra        +0x90 /* 00003F5C */
  6266. label00003ED0:
  6267. 00003ED0  1012                     move.b     D0, [A2]
  6268. 00003ED2  4880                     ext.w      D0
  6269. 00003ED4  48C0                     ext.l      D0
  6270. 00003ED6  D5C0                     add.l      A2, D0
  6271. 00003ED8  6000 0082                bra        +0x84 /* 00003F5C */
  6272. label00003EDC:
  6273. 00003EDC  1006                     move.b     D0, D6
  6274. 00003EDE  4880                     ext.w      D0
  6275. 00003EE0  48C0                     ext.l      D0
  6276. 00003EE2  5380                     subq.l     D0, 1
  6277. 00003EE4  6730                     beq        +0x32 /* 00003F16 */
  6278. 00003EE6  5380                     subq.l     D0, 1
  6279. 00003EE8  6706                     beq        +0x8 /* 00003EF0 */
  6280. 00003EEA  5380                     subq.l     D0, 1
  6281. 00003EEC  6702                     beq        +0x4 /* 00003EF0 */
  6282. 00003EEE  604A                     bra        +0x4C /* 00003F3A */
  6283. label00003EF0:
  6284. 00003EF0  0C04 0001                cmpi.b     D4, 0x1
  6285. 00003EF4  6610                     bne        +0x12 /* 00003F06 */
  6286. 00003EF6  2F03                     move.l     -[A7], D3
  6287. 00003EF8  2F0B                     move.l     -[A7], A3
  6288. 00003EFA  2F0E                     move.l     -[A7], A6
  6289. 00003EFC  4EAD EC60                jsr        [A5 - 0x13A0]
  6290. 00003F00  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6291. 00003F04  6034                     bra        +0x36 /* 00003F3A */
  6292. label00003F06:
  6293. 00003F06  2F0B                     move.l     -[A7], A3
  6294. 00003F08  2F0E                     move.l     -[A7], A6
  6295. 00003F0A  2F0C                     move.l     -[A7], A4
  6296. 00003F0C  4EBA FA10                jsr        [PC - 0x5F0 /* 0000391E */]
  6297. 00003F10  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6298. 00003F14  6024                     bra        +0x26 /* 00003F3A */
  6299. label00003F16:
  6300. 00003F16  0C04 0001                cmpi.b     D4, 0x1
  6301. 00003F1A  6610                     bne        +0x12 /* 00003F2C */
  6302. 00003F1C  2F0B                     move.l     -[A7], A3
  6303. 00003F1E  2F0E                     move.l     -[A7], A6
  6304. 00003F20  2F0C                     move.l     -[A7], A4
  6305. 00003F22  4EBA FA8E                jsr        [PC - 0x572 /* 000039B2 */]
  6306. 00003F26  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6307. 00003F2A  600E                     bra        +0x10 /* 00003F3A */
  6308. label00003F2C:
  6309. 00003F2C  2F0B                     move.l     -[A7], A3
  6310. 00003F2E  2F0E                     move.l     -[A7], A6
  6311. 00003F30  2F0C                     move.l     -[A7], A4
  6312. 00003F32  4EBA FAD6                jsr        [PC - 0x52A /* 00003A0A */]
  6313. 00003F36  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6314. label00003F3A:
  6315. 00003F3A  2F03                     move.l     -[A7], D3
  6316. 00003F3C  2F0E                     move.l     -[A7], A6
  6317. 00003F3E  4EAD EC50                jsr        [A5 - 0x13B0]
  6318. 00003F42  4A40                     tst.w      D0
  6319. 00003F44  504F                     addq.w     A7, 8
  6320. 00003F46  670C                     beq        +0xE /* 00003F54 */
  6321. 00003F48  528A                     addq.l     A2, 1
  6322. 00003F4A  1012                     move.b     D0, [A2]
  6323. 00003F4C  4880                     ext.w      D0
  6324. 00003F4E  48C0                     ext.l      D0
  6325. 00003F50  D5C0                     add.l      A2, D0
  6326. 00003F52  6008                     bra        +0xA /* 00003F5C */
  6327. label00003F54:
  6328. 00003F54  1012                     move.b     D0, [A2]
  6329. 00003F56  4880                     ext.w      D0
  6330. 00003F58  48C0                     ext.l      D0
  6331. 00003F5A  D5C0                     add.l      A2, D0
  6332. label00003F5C:
  6333. 00003F5C  2F03                     move.l     -[A7], D3
  6334. 00003F5E  42A7                     clr.l      -[A7]
  6335. 00003F60  2F07                     move.l     -[A7], D7
  6336. 00003F62  4EAD D94C                jsr        [A5 - 0x26B4]
  6337. 00003F66  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6338. label00003F6A:
  6339. 00003F6A  4A12                     tst.b      [A2]
  6340. 00003F6C  6600 FDA6                bne        -0x258 /* 00003D14 */
  6341. label00003F70:
  6342. 00003F70  4A87                     tst.l      D7
  6343. 00003F72  6708                     beq        +0xA /* 00003F7C */
  6344. 00003F74  2F07                     move.l     -[A7], D7
  6345. 00003F76  4EBA 1CA8                jsr        [PC + 0x1CA8 /* 00005C20 */]
  6346. 00003F7A  584F                     addq.w     A7, 4
  6347. label00003F7C:
  6348. 00003F7C  4A45                     tst.w      D5
  6349. 00003F7E  6708                     beq        +0xA /* 00003F88 */
  6350. 00003F80  206F 008C                movea.l    A0, [A7 + 0x8C]
  6351. 00003F84  4290                     clr.l      [A0]
  6352. 00003F86  6006                     bra        +0x8 /* 00003F8E */
  6353. label00003F88:
  6354. 00003F88  206F 008C                movea.l    A0, [A7 + 0x8C]
  6355. 00003F8C  208E                     move.l     [A0], A6
  6356. label00003F8E:
  6357. 00003F8E  3005                     move.w     D0, D5
  6358. 00003F90  4FEF 005E                lea.l      A7, [A7 + 0x5E]
  6359. 00003F94  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6360. 00003F98  4E75                     rts
  6361. fn00003F9A:
  6362. 00003F9A  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  6363. 00003F9E  4FEF FF68                lea.l      A7, [A7 - 0x98]
  6364. 00003FA2  266F 00BC                movea.l    A3, [A7 + 0xBC]
  6365. 00003FA6  7E00                     moveq.l    D7, 0x00
  6366. 00003FA8  41ED A4FC                lea.l      A0, [A5 - 0x5B04]
  6367. 00003FAC  43EF 0022                lea.l      A1, [A7 + 0x22]
  6368. 00003FB0  7007                     moveq.l    D0, 0x07
  6369. label00003FB2:
  6370. 00003FB2  22D8                     move.l     [A1]+, [A0]+
  6371. 00003FB4  51C8 FFFC                dbf        D0, -0x6 /* 00003FB2 */
  6372. 00003FB8  41ED A4DC                lea.l      A0, [A5 - 0x5B24]
  6373. 00003FBC  43EF 0078                lea.l      A1, [A7 + 0x78]
  6374. 00003FC0  7007                     moveq.l    D0, 0x07
  6375. label00003FC2:
  6376. 00003FC2  22D8                     move.l     [A1]+, [A0]+
  6377. 00003FC4  51C8 FFFC                dbf        D0, -0x6 /* 00003FC2 */
  6378. 00003FC8  7600                     moveq.l    D3, 0x00
  6379. 00003FCA  3EBC 0003                move.w     [A7], 0x3
  6380. 00003FCE  95CA                     sub.l      A2, A2
  6381. 00003FD0  41ED A4A6                lea.l      A0, [A5 - 0x5B5A]
  6382. 00003FD4  43EF 0042                lea.l      A1, [A7 + 0x42]
  6383. 00003FD8  700C                     moveq.l    D0, 0x0C
  6384. label00003FDA:
  6385. 00003FDA  22D8                     move.l     [A1]+, [A0]+
  6386. 00003FDC  51C8 FFFC                dbf        D0, -0x6 /* 00003FDA */
  6387. 00003FE0  32D8                     move.w     [A1]+, [A0]+
  6388. 00003FE2  306F 00C0                movea.w    A0, [A7 + 0xC0]
  6389. 00003FE6  2008                     move.l     D0, A0
  6390. 00003FE8  E588                     lsl        D0, 2
  6391. 00003FEA  206B 021A                movea.l    A0, [A3 + 0x21A]
  6392. 00003FEE  2470 0800                movea.l    A2, [A0 + D0]
  6393. 00003FF2  6000 02BE                bra        +0x2C0 /* 000042B2 */
  6394. label00003FF6:
  6395. 00003FF6  42AF 0094                clr.l      [A7 + 0x94]
  6396. 00003FFA  7A00                     moveq.l    D5, 0x00
  6397. 00003FFC  1C1A                     move.b     D6, [A2]+
  6398. 00003FFE  101A                     move.b     D0, [A2]+
  6399. 00004000  4880                     ext.w      D0
  6400. 00004002  C1FC 0006                muls.w     D0, 0x6
  6401. 00004006  286B 0210                movea.l    A4, [A3 + 0x210]
  6402. 0000400A  D9C0                     add.l      A4, D0
  6403. 0000400C  5D8C                     subq.l     A4, 6
  6404. 0000400E  274C 02CC                move.l     [A3 + 0x2CC], A4
  6405. 00004012  181A                     move.b     D4, [A2]+
  6406. 00004014  161A                     move.b     D3, [A2]+
  6407. 00004016  4883                     ext.w      D3
  6408. 00004018  4A14                     tst.b      [A4]
  6409. 0000401A  6704                     beq        +0x6 /* 00004020 */
  6410. 0000401C  426B 02CA                clr.w      [A3 + 0x2CA]
  6411. label00004020:
  6412. 00004020  0C43 0001                cmpi.w     D3, 0x1
  6413. 00004024  6700 0092                beq        +0x94 /* 000040B8 */
  6414. 00004028  286B 02CC                movea.l    A4, [A3 + 0x2CC]
  6415. 0000402C  41ED A486                lea.l      A0, [A5 - 0x5B7A]
  6416. 00004030  43EF 0002                lea.l      A1, [A7 + 0x2]
  6417. 00004034  7007                     moveq.l    D0, 0x07
  6418. label00004036:
  6419. 00004036  22D8                     move.l     [A1]+, [A0]+
  6420. 00004038  51C8 FFFC                dbf        D0, -0x6 /* 00004036 */
  6421. 0000403C  0C43 0003                cmpi.w     D3, 0x3
  6422. 00004040  6618                     bne        +0x1A /* 0000405A */
  6423. 00004042  486F 0002                pea.l      [A7 + 0x2]
  6424. 00004046  101A                     move.b     D0, [A2]+
  6425. 00004048  4880                     ext.w      D0
  6426. 0000404A  3F00                     move.w     -[A7], D0
  6427. 0000404C  2F0B                     move.l     -[A7], A3
  6428. 0000404E  4EBA 02EC                jsr        [PC + 0x2EC /* 0000433C */]
  6429. 00004052  3600                     move.w     D3, D0
  6430. 00004054  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6431. 00004058  6016                     bra        +0x18 /* 00004070 */
  6432. label0000405A:
  6433. 0000405A  486F 0002                pea.l      [A7 + 0x2]
  6434. 0000405E  101A                     move.b     D0, [A2]+
  6435. 00004060  4880                     ext.w      D0
  6436. 00004062  3F00                     move.w     -[A7], D0
  6437. 00004064  2F0B                     move.l     -[A7], A3
  6438. 00004066  4EBA FF32                jsr        [PC - 0xCE /* 00003F9A */]
  6439. 0000406A  3600                     move.w     D3, D0
  6440. 0000406C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6441. label00004070:
  6442. 00004070  4A43                     tst.w      D3
  6443. 00004072  6600 0244                bne        +0x246 /* 000042B8 */
  6444. 00004076  274C 02CC                move.l     [A3 + 0x2CC], A4
  6445. 0000407A  4AAF 001E                tst.l      [A7 + 0x1E]
  6446. 0000407E  6716                     beq        +0x18 /* 00004096 */
  6447. 00004080  41EF 0002                lea.l      A0, [A7 + 0x2]
  6448. 00004084  43EF 0078                lea.l      A1, [A7 + 0x78]
  6449. 00004088  7007                     moveq.l    D0, 0x07
  6450. label0000408A:
  6451. 0000408A  22D8                     move.l     [A1]+, [A0]+
  6452. 0000408C  51C8 FFFC                dbf        D0, -0x6 /* 0000408A */
  6453. 00004090  7A01                     moveq.l    D5, 0x01
  6454. 00004092  6000 00F0                bra        +0xF2 /* 00004184 */
  6455. label00004096:
  6456. 00004096  0C04 0001                cmpi.b     D4, 0x1
  6457. 0000409A  6606                     bne        +0x8 /* 000040A2 */
  6458. 0000409C  7A00                     moveq.l    D5, 0x00
  6459. 0000409E  6000 00E4                bra        +0xE6 /* 00004184 */
  6460. label000040A2:
  6461. 000040A2  41EF 0002                lea.l      A0, [A7 + 0x2]
  6462. 000040A6  43EF 0078                lea.l      A1, [A7 + 0x78]
  6463. 000040AA  7007                     moveq.l    D0, 0x07
  6464. label000040AC:
  6465. 000040AC  22D8                     move.l     [A1]+, [A0]+
  6466. 000040AE  51C8 FFFC                dbf        D0, -0x6 /* 000040AC */
  6467. 000040B2  7A01                     moveq.l    D5, 0x01
  6468. 000040B4  6000 00CE                bra        +0xD0 /* 00004184 */
  6469. label000040B8:
  6470. 000040B8  101A                     move.b     D0, [A2]+
  6471. 000040BA  4880                     ext.w      D0
  6472. 000040BC  C1FC 000C                muls.w     D0, 0xC
  6473. 000040C0  286B 020A                movea.l    A4, [A3 + 0x20A]
  6474. 000040C4  D9C0                     add.l      A4, D0
  6475. 000040C6  518C                     subq.l     A4, 8
  6476. 000040C8  598C                     subq.l     A4, 4
  6477. 000040CA  4878 0020                push.l     0x20 /* ' ' */
  6478. 000040CE  42A7                     clr.l      -[A7]
  6479. 000040D0  486F 0080                pea.l      [A7 + 0x80]
  6480. 000040D4  4EAD D94C                jsr        [A5 - 0x26B4]
  6481. 000040D8  4878 0036                push.l     0x36 /* '6' */
  6482. 000040DC  42A7                     clr.l      -[A7]
  6483. 000040DE  486F 0056                pea.l      [A7 + 0x56]
  6484. 000040E2  4EAD D94C                jsr        [A5 - 0x26B4]
  6485. 000040E6  41EF 0090                lea.l      A0, [A7 + 0x90]
  6486. 000040EA  2F48 005A                move.l     [A7 + 0x5A], A0
  6487. 000040EE  3F7C 0001 005E           move.w     [A7 + 0x5E], 0x1
  6488. 000040F4  2F6B 02A2 0060           move.l     [A7 + 0x60], [A3 + 0x2A2]
  6489. 000040FA  2F6B 02A6 0064           move.l     [A7 + 0x64], [A3 + 0x2A6]
  6490. 00004100  206F 005A                movea.l    A0, [A7 + 0x5A]
  6491. 00004104  2094                     move.l     [A0], [A4]
  6492. 00004106  206F 005A                movea.l    A0, [A7 + 0x5A]
  6493. 0000410A  316C 0004 0008           move.w     [A0 + 0x8], [A4 + 0x4]
  6494. 00004110  426F 008A                clr.w      [A7 + 0x8A]
  6495. 00004114  0C06 0004                cmpi.b     D6, 0x4
  6496. 00004118  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6497. 0000411C  663C                     bne        +0x3E /* 0000415A */
  6498. 0000411E  1012                     move.b     D0, [A2]
  6499. 00004120  4880                     ext.w      D0
  6500. 00004122  48C0                     ext.l      D0
  6501. 00004124  D5C0                     add.l      A2, D0
  6502. 00004126  7C03                     moveq.l    D6, 0x03
  6503. 00004128  3F7C 0001 0072           move.w     [A7 + 0x72], 0x1
  6504. 0000412E  528A                     addq.l     A2, 1
  6505. 00004130  528A                     addq.l     A2, 1
  6506. 00004132  528A                     addq.l     A2, 1
  6507. 00004134  528A                     addq.l     A2, 1
  6508. 00004136  101A                     move.b     D0, [A2]+
  6509. 00004138  4880                     ext.w      D0
  6510. 0000413A  C1FC 000C                muls.w     D0, 0xC
  6511. 0000413E  286B 020A                movea.l    A4, [A3 + 0x20A]
  6512. 00004142  D9C0                     add.l      A4, D0
  6513. 00004144  518C                     subq.l     A4, 8
  6514. 00004146  598C                     subq.l     A4, 4
  6515. 00004148  206F 0042                movea.l    A0, [A7 + 0x42]
  6516. 0000414C  2154 0004                move.l     [A0 + 0x4], [A4]
  6517. 00004150  206F 0042                movea.l    A0, [A7 + 0x42]
  6518. 00004154  316C 0004 000A           move.w     [A0 + 0xA], [A4 + 0x4]
  6519. label0000415A:
  6520. 0000415A  486F 0042                pea.l      [A7 + 0x42]
  6521. 0000415E  2F2B 0310                move.l     -[A7], [A3 + 0x310]
  6522. 00004162  4EBA C09E                jsr        [PC - 0x3F62 /* 00000202 */]
  6523. 00004166  3600                     move.w     D3, D0
  6524. 00004168  504F                     addq.w     A7, 8
  6525. 0000416A  6600 014C                bne        +0x14E /* 000042B8 */
  6526. 0000416E  4AAF 0094                tst.l      [A7 + 0x94]
  6527. 00004172  6704                     beq        +0x6 /* 00004178 */
  6528. 00004174  7A01                     moveq.l    D5, 0x01
  6529. 00004176  600C                     bra        +0xE /* 00004184 */
  6530. label00004178:
  6531. 00004178  0C04 0001                cmpi.b     D4, 0x1
  6532. 0000417C  6604                     bne        +0x6 /* 00004182 */
  6533. 0000417E  7A00                     moveq.l    D5, 0x00
  6534. 00004180  6002                     bra        +0x4 /* 00004184 */
  6535. label00004182:
  6536. 00004182  7A01                     moveq.l    D5, 0x01
  6537. label00004184:
  6538. 00004184  4A45                     tst.w      D5
  6539. 00004186  6646                     bne        +0x48 /* 000041CE */
  6540. 00004188  0C04 0001                cmpi.b     D4, 0x1
  6541. 0000418C  6634                     bne        +0x36 /* 000041C2 */
  6542. 0000418E  0C06 0001                cmpi.b     D6, 0x1
  6543. 00004192  6620                     bne        +0x22 /* 000041B4 */
  6544. 00004194  4AAF 003E                tst.l      [A7 + 0x3E]
  6545. 00004198  671A                     beq        +0x1C /* 000041B4 */
  6546. 0000419A  2F2F 003E                move.l     -[A7], [A7 + 0x3E]
  6547. 0000419E  4EBA 19A2                jsr        [PC + 0x19A2 /* 00005B42 */]
  6548. 000041A2  4878 0020                push.l     0x20 /* ' ' */
  6549. 000041A6  42A7                     clr.l      -[A7]
  6550. 000041A8  486F 002E                pea.l      [A7 + 0x2E]
  6551. 000041AC  4EAD D94C                jsr        [A5 - 0x26B4]
  6552. 000041B0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6553. label000041B4:
  6554. 000041B4  528A                     addq.l     A2, 1
  6555. 000041B6  1012                     move.b     D0, [A2]
  6556. 000041B8  4880                     ext.w      D0
  6557. 000041BA  48C0                     ext.l      D0
  6558. 000041BC  D5C0                     add.l      A2, D0
  6559. 000041BE  6000 00CE                bra        +0xD0 /* 0000428E */
  6560. label000041C2:
  6561. 000041C2  1012                     move.b     D0, [A2]
  6562. 000041C4  4880                     ext.w      D0
  6563. 000041C6  48C0                     ext.l      D0
  6564. 000041C8  D5C0                     add.l      A2, D0
  6565. 000041CA  6000 00C2                bra        +0xC4 /* 0000428E */
  6566. label000041CE:
  6567. 000041CE  1006                     move.b     D0, D6
  6568. 000041D0  4880                     ext.w      D0
  6569. 000041D2  48C0                     ext.l      D0
  6570. 000041D4  5380                     subq.l     D0, 1
  6571. 000041D6  673E                     beq        +0x40 /* 00004216 */
  6572. 000041D8  5380                     subq.l     D0, 1
  6573. 000041DA  6708                     beq        +0xA /* 000041E4 */
  6574. 000041DC  5380                     subq.l     D0, 1
  6575. 000041DE  6704                     beq        +0x6 /* 000041E4 */
  6576. 000041E0  6000 0086                bra        +0x88 /* 00004268 */
  6577. label000041E4:
  6578. 000041E4  0C04 0001                cmpi.b     D4, 0x1
  6579. 000041E8  6616                     bne        +0x18 /* 00004200 */
  6580. 000041EA  486F 0078                pea.l      [A7 + 0x78]
  6581. 000041EE  486F 0026                pea.l      [A7 + 0x26]
  6582. 000041F2  2F0B                     move.l     -[A7], A3
  6583. 000041F4  4EBA F1C8                jsr        [PC - 0xE38 /* 000033BE */]
  6584. 000041F8  3600                     move.w     D3, D0
  6585. 000041FA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6586. 000041FE  6068                     bra        +0x6A /* 00004268 */
  6587. label00004200:
  6588. 00004200  486F 0078                pea.l      [A7 + 0x78]
  6589. 00004204  486F 0026                pea.l      [A7 + 0x26]
  6590. 00004208  2F0B                     move.l     -[A7], A3
  6591. 0000420A  4EBA F31A                jsr        [PC - 0xCE6 /* 00003526 */]
  6592. 0000420E  3600                     move.w     D3, D0
  6593. 00004210  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6594. 00004214  6052                     bra        +0x54 /* 00004268 */
  6595. label00004216:
  6596. 00004216  0C04 0001                cmpi.b     D4, 0x1
  6597. 0000421A  6632                     bne        +0x34 /* 0000424E */
  6598. 0000421C  0C57 0001                cmpi.w     [A7], 0x1
  6599. 00004220  6616                     bne        +0x18 /* 00004238 */
  6600. 00004222  486F 0078                pea.l      [A7 + 0x78]
  6601. 00004226  486F 0026                pea.l      [A7 + 0x26]
  6602. 0000422A  2F0B                     move.l     -[A7], A3
  6603. 0000422C  4EBA F190                jsr        [PC - 0xE70 /* 000033BE */]
  6604. 00004230  3600                     move.w     D3, D0
  6605. 00004232  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6606. 00004236  6030                     bra        +0x32 /* 00004268 */
  6607. label00004238:
  6608. 00004238  486F 0078                pea.l      [A7 + 0x78]
  6609. 0000423C  486F 0026                pea.l      [A7 + 0x26]
  6610. 00004240  2F0B                     move.l     -[A7], A3
  6611. 00004242  4EBA F4D4                jsr        [PC - 0xB2C /* 00003718 */]
  6612. 00004246  3600                     move.w     D3, D0
  6613. 00004248  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6614. 0000424C  601A                     bra        +0x1C /* 00004268 */
  6615. label0000424E:
  6616. 0000424E  486F 0078                pea.l      [A7 + 0x78]
  6617. 00004252  486F 0026                pea.l      [A7 + 0x26]
  6618. 00004256  2F0B                     move.l     -[A7], A3
  6619. 00004258  4EBA F6C0                jsr        [PC - 0x940 /* 0000391A */]
  6620. 0000425C  3600                     move.w     D3, D0
  6621. 0000425E  4A87                     tst.l      D7
  6622. 00004260  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6623. 00004264  6702                     beq        +0x4 /* 00004268 */
  6624. 00004266  7801                     moveq.l    D4, 0x01
  6625. label00004268:
  6626. 00004268  4AAF 003A                tst.l      [A7 + 0x3A]
  6627. 0000426C  670A                     beq        +0xC /* 00004278 */
  6628. 0000426E  1012                     move.b     D0, [A2]
  6629. 00004270  4880                     ext.w      D0
  6630. 00004272  48C0                     ext.l      D0
  6631. 00004274  D5C0                     add.l      A2, D0
  6632. 00004276  600A                     bra        +0xC /* 00004282 */
  6633. label00004278:
  6634. 00004278  528A                     addq.l     A2, 1
  6635. 0000427A  1012                     move.b     D0, [A2]
  6636. 0000427C  4880                     ext.w      D0
  6637. 0000427E  48C0                     ext.l      D0
  6638. 00004280  D5C0                     add.l      A2, D0
  6639. label00004282:
  6640. 00004282  5287                     addq.l     D7, 1
  6641. 00004284  1004                     move.b     D0, D4
  6642. 00004286  4880                     ext.w      D0
  6643. 00004288  3E80                     move.w     [A7], D0
  6644. 0000428A  4A43                     tst.w      D3
  6645. 0000428C  662A                     bne        +0x2C /* 000042B8 */
  6646. label0000428E:
  6647. 0000428E  4AAF 0094                tst.l      [A7 + 0x94]
  6648. 00004292  671A                     beq        +0x1C /* 000042AE */
  6649. 00004294  2F2F 0094                move.l     -[A7], [A7 + 0x94]
  6650. 00004298  4EBA 18A8                jsr        [PC + 0x18A8 /* 00005B42 */]
  6651. 0000429C  4878 0020                push.l     0x20 /* ' ' */
  6652. 000042A0  42A7                     clr.l      -[A7]
  6653. 000042A2  486F 0084                pea.l      [A7 + 0x84]
  6654. 000042A6  4EAD D94C                jsr        [A5 - 0x26B4]
  6655. 000042AA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6656. label000042AE:
  6657. 000042AE  4A43                     tst.w      D3
  6658. 000042B0  6606                     bne        +0x8 /* 000042B8 */
  6659. label000042B2:
  6660. 000042B2  4A12                     tst.b      [A2]
  6661. 000042B4  6600 FD40                bne        -0x2BE /* 00003FF6 */
  6662. label000042B8:
  6663. 000042B8  4AAF 0094                tst.l      [A7 + 0x94]
  6664. 000042BC  671A                     beq        +0x1C /* 000042D8 */
  6665. 000042BE  2F2F 0094                move.l     -[A7], [A7 + 0x94]
  6666. 000042C2  4EBA 187E                jsr        [PC + 0x187E /* 00005B42 */]
  6667. 000042C6  4878 0020                push.l     0x20 /* ' ' */
  6668. 000042CA  42A7                     clr.l      -[A7]
  6669. 000042CC  486F 0084                pea.l      [A7 + 0x84]
  6670. 000042D0  4EAD D94C                jsr        [A5 - 0x26B4]
  6671. 000042D4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6672. label000042D8:
  6673. 000042D8  4A43                     tst.w      D3
  6674. 000042DA  6722                     beq        +0x24 /* 000042FE */
  6675. 000042DC  4AAF 003E                tst.l      [A7 + 0x3E]
  6676. 000042E0  670A                     beq        +0xC /* 000042EC */
  6677. 000042E2  2F2F 003E                move.l     -[A7], [A7 + 0x3E]
  6678. 000042E6  4EBA 185A                jsr        [PC + 0x185A /* 00005B42 */]
  6679. 000042EA  584F                     addq.w     A7, 4
  6680. label000042EC:
  6681. 000042EC  4878 0020                push.l     0x20 /* ' ' */
  6682. 000042F0  42A7                     clr.l      -[A7]
  6683. 000042F2  486F 002A                pea.l      [A7 + 0x2A]
  6684. 000042F6  4EAD D94C                jsr        [A5 - 0x26B4]
  6685. 000042FA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6686. label000042FE:
  6687. 000042FE  206F 00C2                movea.l    A0, [A7 + 0xC2]
  6688. 00004302  43EF 0022                lea.l      A1, [A7 + 0x22]
  6689. 00004306  7007                     moveq.l    D0, 0x07
  6690. label00004308:
  6691. 00004308  20D9                     move.l     [A0]+, [A1]+
  6692. 0000430A  51C8 FFFC                dbf        D0, -0x6 /* 00004308 */
  6693. 0000430E  4AAF 0042                tst.l      [A7 + 0x42]
  6694. 00004312  671C                     beq        +0x1E /* 00004330 */
  6695. 00004314  206F 0042                movea.l    A0, [A7 + 0x42]
  6696. 00004318  4AA8 000C                tst.l      [A0 + 0xC]
  6697. 0000431C  6712                     beq        +0x14 /* 00004330 */
  6698. 0000431E  2F28 000C                move.l     -[A7], [A0 + 0xC]
  6699. 00004322  4EBA 18FC                jsr        [PC + 0x18FC /* 00005C20 */]
  6700. 00004326  206F 0046                movea.l    A0, [A7 + 0x46]
  6701. 0000432A  42A8 000C                clr.l      [A0 + 0xC]
  6702. 0000432E  584F                     addq.w     A7, 4
  6703. label00004330:
  6704. 00004330  3003                     move.w     D0, D3
  6705. 00004332  4FEF 0098                lea.l      A7, [A7 + 0x98]
  6706. 00004336  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  6707. 0000433A  4E75                     rts
  6708. fn0000433C:
  6709. 0000433C  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6710. 00004340  4FEF FEF4                lea.l      A7, [A7 - 0x10C]
  6711. 00004344  266F 0134                movea.l    A3, [A7 + 0x134]
  6712. 00004348  382F 0138                move.w     D4, [A7 + 0x138]
  6713. 0000434C  95CA                     sub.l      A2, A2
  6714. 0000434E  42AF 0018                clr.l      [A7 + 0x18]
  6715. 00004352  7600                     moveq.l    D3, 0x00
  6716. 00004354  426F 001C                clr.w      [A7 + 0x1C]
  6717. 00004358  41ED A450                lea.l      A0, [A5 - 0x5BB0]
  6718. 0000435C  43EF 0042                lea.l      A1, [A7 + 0x42]
  6719. 00004360  700C                     moveq.l    D0, 0x0C
  6720. label00004362:
  6721. 00004362  22D8                     move.l     [A1]+, [A0]+
  6722. 00004364  51C8 FFFC                dbf        D0, -0x6 /* 00004362 */
  6723. 00004368  32D8                     move.w     [A1]+, [A0]+
  6724. 0000436A  42AF 0004                clr.l      [A7 + 0x4]
  6725. 0000436E  4297                     clr.l      [A7]
  6726. 00004370  7A00                     moveq.l    D5, 0x00
  6727. 00004372  7E00                     moveq.l    D7, 0x00
  6728. 00004374  42AF 0014                clr.l      [A7 + 0x14]
  6729. 00004378  41ED A440                lea.l      A0, [A5 - 0x5BC0]
  6730. 0000437C  43EF 00FC                lea.l      A1, [A7 + 0xFC]
  6731. 00004380  22D8                     move.l     [A1]+, [A0]+
  6732. 00004382  22D8                     move.l     [A1]+, [A0]+
  6733. 00004384  22D8                     move.l     [A1]+, [A0]+
  6734. 00004386  22D8                     move.l     [A1]+, [A0]+
  6735. 00004388  99CC                     sub.l      A4, A4
  6736. 0000438A  42AF 00F4                clr.l      [A7 + 0xF4]
  6737. 0000438E  42AF 001E                clr.l      [A7 + 0x1E]
  6738. 00004392  4878 0020                push.l     0x20 /* ' ' */
  6739. 00004396  42A7                     clr.l      -[A7]
  6740. 00004398  2F2F 0142                move.l     -[A7], [A7 + 0x142]
  6741. 0000439C  4EAD D94C                jsr        [A5 - 0x26B4]
  6742. 000043A0  3044                     movea.w    A0, D4
  6743. 000043A2  2008                     move.l     D0, A0
  6744. 000043A4  E588                     lsl        D0, 2
  6745. 000043A6  206B 021A                movea.l    A0, [A3 + 0x21A]
  6746. 000043AA  2470 0800                movea.l    A2, [A0 + D0]
  6747. 000043AE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6748. 000043B2  6004                     bra        +0x6 /* 000043B8 */
  6749. label000043B4:
  6750. 000043B4  5E8A                     addq.l     A2, 7
  6751. 000043B6  5287                     addq.l     D7, 1
  6752. label000043B8:
  6753. 000043B8  4A12                     tst.b      [A2]
  6754. 000043BA  66F8                     bne        -0x6 /* 000043B4 */
  6755. 000043BC  4A87                     tst.l      D7
  6756. 000043BE  660C                     bne        +0xE /* 000043CC */
  6757. 000043C0  7000                     moveq.l    D0, 0x00
  6758. 000043C2  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  6759. 000043C6  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6760. 000043CA  4E75                     rts
  6761. label000043CC:
  6762. 000043CC  2F2B 0310                move.l     -[A7], [A3 + 0x310]
  6763. 000043D0  4EBA BE0A                jsr        [PC - 0x41F6 /* 000001DC */]
  6764. 000043D4  584F                     addq.w     A7, 4
  6765. 000043D6  2F00                     move.l     -[A7], D0
  6766. 000043D8  4EAD EC40                jsr        [A5 - 0x13C0]
  6767. 000043DC  2F48 001C                move.l     [A7 + 0x1C], A0
  6768. 000043E0  4AAF 001C                tst.l      [A7 + 0x1C]
  6769. 000043E4  584F                     addq.w     A7, 4
  6770. 000043E6  660C                     bne        +0xE /* 000043F4 */
  6771. 000043E8  7001                     moveq.l    D0, 0x01
  6772. 000043EA  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  6773. 000043EE  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6774. 000043F2  4E75                     rts
  6775. label000043F4:
  6776. 000043F4  2007                     move.l     D0, D7
  6777. 000043F6  EB88                     lsl        D0, 5
  6778. 000043F8  2F00                     move.l     -[A7], D0
  6779. 000043FA  4EBA 170E                jsr        [PC + 0x170E /* 00005B0A */]
  6780. 000043FE  2F48 0008                move.l     [A7 + 0x8], A0
  6781. 00004402  4AAF 0008                tst.l      [A7 + 0x8]
  6782. 00004406  584F                     addq.w     A7, 4
  6783. 00004408  660A                     bne        +0xC /* 00004414 */
  6784. 0000440A  3F7C 0001 001C           move.w     [A7 + 0x1C], 0x1
  6785. 00004410  6000 0444                bra        +0x446 /* 00004856 */
  6786. label00004414:
  6787. 00004414  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  6788. 00004418  4EBA 1744                jsr        [PC + 0x1744 /* 00005B5E */]
  6789. 0000441C  2F48 0022                move.l     [A7 + 0x22], A0
  6790. 00004420  2007                     move.l     D0, D7
  6791. 00004422  E588                     lsl        D0, 2
  6792. 00004424  2F00                     move.l     -[A7], D0
  6793. 00004426  4EBA 16E2                jsr        [PC + 0x16E2 /* 00005B0A */]
  6794. 0000442A  2F48 0008                move.l     [A7 + 0x8], A0
  6795. 0000442E  4AAF 0008                tst.l      [A7 + 0x8]
  6796. 00004432  504F                     addq.w     A7, 8
  6797. 00004434  660A                     bne        +0xC /* 00004440 */
  6798. 00004436  3F7C 0001 001C           move.w     [A7 + 0x1C], 0x1
  6799. 0000443C  6000 0418                bra        +0x41A /* 00004856 */
  6800. label00004440:
  6801. 00004440  2F17                     move.l     -[A7], [A7]
  6802. 00004442  4EBA 171A                jsr        [PC + 0x171A /* 00005B5E */]
  6803. 00004446  2F48 00F4                move.l     [A7 + 0xF4], A0
  6804. 0000444A  3044                     movea.w    A0, D4
  6805. 0000444C  2008                     move.l     D0, A0
  6806. 0000444E  E588                     lsl        D0, 2
  6807. 00004450  206B 021A                movea.l    A0, [A3 + 0x21A]
  6808. 00004454  2470 0800                movea.l    A2, [A0 + D0]
  6809. 00004458  584F                     addq.w     A7, 4
  6810. 0000445A  6000 00C6                bra        +0xC8 /* 00004522 */
  6811. label0000445E:
  6812. 0000445E  181A                     move.b     D4, [A2]+
  6813. 00004460  101A                     move.b     D0, [A2]+
  6814. 00004462  4880                     ext.w      D0
  6815. 00004464  C1FC 0006                muls.w     D0, 0x6
  6816. 00004468  206B 0210                movea.l    A0, [A3 + 0x210]
  6817. 0000446C  D1C0                     add.l      A0, D0
  6818. 0000446E  5D88                     subq.l     A0, 6
  6819. 00004470  2C48                     movea.l    A6, A0
  6820. 00004472  2748 02CC                move.l     [A3 + 0x2CC], A0
  6821. 00004476  181A                     move.b     D4, [A2]+
  6822. 00004478  181A                     move.b     D4, [A2]+
  6823. 0000447A  4884                     ext.w      D4
  6824. 0000447C  4878 0020                push.l     0x20 /* ' ' */
  6825. 00004480  42A7                     clr.l      -[A7]
  6826. 00004482  486F 002A                pea.l      [A7 + 0x2A]
  6827. 00004486  4EAD D94C                jsr        [A5 - 0x26B4]
  6828. 0000448A  4878 0036                push.l     0x36 /* '6' */
  6829. 0000448E  42A7                     clr.l      -[A7]
  6830. 00004490  486F 0056                pea.l      [A7 + 0x56]
  6831. 00004494  4EAD D94C                jsr        [A5 - 0x26B4]
  6832. 00004498  41EF 003A                lea.l      A0, [A7 + 0x3A]
  6833. 0000449C  2F48 005A                move.l     [A7 + 0x5A], A0
  6834. 000044A0  3F7C 0001 005E           move.w     [A7 + 0x5E], 0x1
  6835. 000044A6  2F6B 02A2 0060           move.l     [A7 + 0x60], [A3 + 0x2A2]
  6836. 000044AC  2F6B 02A6 0064           move.l     [A7 + 0x64], [A3 + 0x2A6]
  6837. 000044B2  206F 005A                movea.l    A0, [A7 + 0x5A]
  6838. 000044B6  216F 0030 000C           move.l     [A0 + 0xC], [A7 + 0x30]
  6839. 000044BC  101A                     move.b     D0, [A2]+
  6840. 000044BE  4880                     ext.w      D0
  6841. 000044C0  C1FC 000C                muls.w     D0, 0xC
  6842. 000044C4  2C6B 020A                movea.l    A6, [A3 + 0x20A]
  6843. 000044C8  DDC0                     add.l      A6, D0
  6844. 000044CA  518E                     subq.l     A6, 8
  6845. 000044CC  598E                     subq.l     A6, 4
  6846. 000044CE  206F 005A                movea.l    A0, [A7 + 0x5A]
  6847. 000044D2  2096                     move.l     [A0], [A6]
  6848. 000044D4  206F 005A                movea.l    A0, [A7 + 0x5A]
  6849. 000044D8  316E 0004 0008           move.w     [A0 + 0x8], [A6 + 0x4]
  6850. 000044DE  486F 005A                pea.l      [A7 + 0x5A]
  6851. 000044E2  2F2B 0310                move.l     -[A7], [A3 + 0x310]
  6852. 000044E6  4EBA BD1A                jsr        [PC - 0x42E6 /* 00000202 */]
  6853. 000044EA  3F40 003C                move.w     [A7 + 0x3C], D0
  6854. 000044EE  4FEF 0020                lea.l      A7, [A7 + 0x20]
  6855. 000044F2  6600 0362                bne        +0x364 /* 00004856 */
  6856. 000044F6  548A                     addq.l     A2, 2
  6857. 000044F8  4AAF 003E                tst.l      [A7 + 0x3E]
  6858. 000044FC  6700 0358                beq        +0x35A /* 00004856 */
  6859. 00004500  3043                     movea.w    A0, D3
  6860. 00004502  2008                     move.l     D0, A0
  6861. 00004504  E588                     lsl        D0, 2
  6862. 00004506  206F 001E                movea.l    A0, [A7 + 0x1E]
  6863. 0000450A  21AF 003E 0800           move.l     [A0 + D0], [A7 + 0x3E]
  6864. 00004510  3003                     move.w     D0, D3
  6865. 00004512  5243                     addq.w     D3, 1
  6866. 00004514  48C0                     ext.l      D0
  6867. 00004516  E588                     lsl        D0, 2
  6868. 00004518  206F 00F0                movea.l    A0, [A7 + 0xF0]
  6869. 0000451C  21AF 003A 0800           move.l     [A0 + D0], [A7 + 0x3A]
  6870. label00004522:
  6871. 00004522  4A12                     tst.b      [A2]
  6872. 00004524  6600 FF38                bne        -0xC6 /* 0000445E */
  6873. 00004528  7A00                     moveq.l    D5, 0x00
  6874. 0000452A  42AF 00F8                clr.l      [A7 + 0xF8]
  6875. 0000452E  6026                     bra        +0x28 /* 00004556 */
  6876. label00004530:
  6877. 00004530  202F 00F8                move.l     D0, [A7 + 0xF8]
  6878. 00004534  E588                     lsl        D0, 2
  6879. 00004536  206F 001E                movea.l    A0, [A7 + 0x1E]
  6880. 0000453A  2F30 0800                move.l     -[A7], [A0 + D0]
  6881. 0000453E  4EBA 161E                jsr        [PC + 0x161E /* 00005B5E */]
  6882. 00004542  202F 00FC                move.l     D0, [A7 + 0xFC]
  6883. 00004546  E588                     lsl        D0, 2
  6884. 00004548  43EF 007C                lea.l      A1, [A7 + 0x7C]
  6885. 0000454C  2388 0800                move.l     [A1 + D0], A0
  6886. 00004550  52AF 00FC                addq.l     [A7 + 0xFC], 1
  6887. 00004554  584F                     addq.w     A7, 4
  6888. label00004556:
  6889. 00004556  BEAF 00F8                cmp.l      D7, [A7 + 0xF8]
  6890. 0000455A  6ED4                     bgt        -0x2A /* 00004530 */
  6891. 0000455C  42AF 00F8                clr.l      [A7 + 0xF8]
  6892. 00004560  6000 01C4                bra        +0x1C6 /* 00004726 */
  6893. label00004564:
  6894. 00004564  7C01                     moveq.l    D6, 0x01
  6895. 00004566  202F 00F8                move.l     D0, [A7 + 0xF8]
  6896. 0000456A  720C                     moveq.l    D1, 0x0C
  6897. 0000456C  4EAD D8F8                jsr        [A5 - 0x2708]
  6898. 00004570  206F 0078                movea.l    A0, [A7 + 0x78]
  6899. 00004574  D1C0                     add.l      A0, D0
  6900. 00004576  2C48                     movea.l    A6, A0
  6901. 00004578  2648                     movea.l    A3, A0
  6902. 0000457A  2F53 0008                move.l     [A7 + 0x8], [A3]
  6903. 0000457E  2F6B 0004 000C           move.l     [A7 + 0xC], [A3 + 0x4]
  6904. 00004584  2F6B 0008 0010           move.l     [A7 + 0x10], [A3 + 0x8]
  6905. 0000458A  4A93                     tst.l      [A3]
  6906. 0000458C  6C00 00CC                bge        +0xCE /* 0000465A */
  6907. 00004590  7A01                     moveq.l    D5, 0x01
  6908. 00004592  4AAF 0100                tst.l      [A7 + 0x100]
  6909. 00004596  6644                     bne        +0x46 /* 000045DC */
  6910. 00004598  42AF 0108                clr.l      [A7 + 0x108]
  6911. 0000459C  2007                     move.l     D0, D7
  6912. 0000459E  7205                     moveq.l    D1, 0x05
  6913. 000045A0  4EAD D8F8                jsr        [A5 - 0x2708]
  6914. 000045A4  2F40 0104                move.l     [A7 + 0x104], D0
  6915. 000045A8  720C                     moveq.l    D1, 0x0C
  6916. 000045AA  4EAD D8F8                jsr        [A5 - 0x2708]
  6917. 000045AE  2F00                     move.l     -[A7], D0
  6918. 000045B0  4EBA 1558                jsr        [PC + 0x1558 /* 00005B0A */]
  6919. 000045B4  2F48 0104                move.l     [A7 + 0x104], A0
  6920. 000045B8  4AAF 0104                tst.l      [A7 + 0x104]
  6921. 000045BC  584F                     addq.w     A7, 4
  6922. 000045BE  660A                     bne        +0xC /* 000045CA */
  6923. 000045C0  3F7C 0001 001C           move.w     [A7 + 0x1C], 0x1
  6924. 000045C6  6000 028E                bra        +0x290 /* 00004856 */
  6925. label000045CA:
  6926. 000045CA  2F2F 0100                move.l     -[A7], [A7 + 0x100]
  6927. 000045CE  4EBA 158E                jsr        [PC + 0x158E /* 00005B5E */]
  6928. 000045D2  2F48 00F8                move.l     [A7 + 0xF8], A0
  6929. 000045D6  2848                     movea.l    A4, A0
  6930. 000045D8  584F                     addq.w     A7, 4
  6931. 000045DA  6066                     bra        +0x68 /* 00004642 */
  6932. label000045DC:
  6933. 000045DC  202F 0108                move.l     D0, [A7 + 0x108]
  6934. 000045E0  B0AF 0104                cmp.l      D0, [A7 + 0x104]
  6935. 000045E4  665C                     bne        +0x5E /* 00004642 */
  6936. 000045E6  99CC                     sub.l      A4, A4
  6937. 000045E8  2F2F 0100                move.l     -[A7], [A7 + 0x100]
  6938. 000045EC  4EBA 1596                jsr        [PC + 0x1596 /* 00005B84 */]
  6939. 000045F0  2007                     move.l     D0, D7
  6940. 000045F2  7205                     moveq.l    D1, 0x05
  6941. 000045F4  4EAD D8F8                jsr        [A5 - 0x2708]
  6942. 000045F8  D1AF 0108                add.l      [A7 + 0x108], D0
  6943. 000045FC  202F 0108                move.l     D0, [A7 + 0x108]
  6944. 00004600  720C                     moveq.l    D1, 0x0C
  6945. 00004602  4EAD D8F8                jsr        [A5 - 0x2708]
  6946. 00004606  2F00                     move.l     -[A7], D0
  6947. 00004608  2F2F 0108                move.l     -[A7], [A7 + 0x108]
  6948. 0000460C  4EBA 1592                jsr        [PC + 0x1592 /* 00005BA0 */]
  6949. 00004610  4EBA 14CE                jsr        [PC + 0x14CE /* 00005AE0 */]
  6950. 00004614  4A40                     tst.w      D0
  6951. 00004616  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6952. 0000461A  670A                     beq        +0xC /* 00004626 */
  6953. 0000461C  3F7C 0001 001C           move.w     [A7 + 0x1C], 0x1
  6954. 00004622  6000 0232                bra        +0x234 /* 00004856 */
  6955. label00004626:
  6956. 00004626  2F2F 0100                move.l     -[A7], [A7 + 0x100]
  6957. 0000462A  4EBA 1532                jsr        [PC + 0x1532 /* 00005B5E */]
  6958. 0000462E  2F48 00F8                move.l     [A7 + 0xF8], A0
  6959. 00004632  202F 010C                move.l     D0, [A7 + 0x10C]
  6960. 00004636  720C                     moveq.l    D1, 0x0C
  6961. 00004638  4EAD D8F8                jsr        [A5 - 0x2708]
  6962. 0000463C  D1C0                     add.l      A0, D0
  6963. 0000463E  2848                     movea.l    A4, A0
  6964. 00004640  584F                     addq.w     A7, 4
  6965. label00004642:
  6966. 00004642  204C                     movea.l    A0, A4
  6967. 00004644  700C                     moveq.l    D0, 0x0C
  6968. 00004646  D9C0                     add.l      A4, D0
  6969. 00004648  2093                     move.l     [A0], [A3]
  6970. 0000464A  216B 0004 0004           move.l     [A0 + 0x4], [A3 + 0x4]
  6971. 00004650  216B 0008 0008           move.l     [A0 + 0x8], [A3 + 0x8]
  6972. 00004656  6000 00AA                bra        +0xAC /* 00004702 */
  6973. label0000465A:
  6974. 0000465A  7A02                     moveq.l    D5, 0x02
  6975. 0000465C  6000 00A4                bra        +0xA6 /* 00004702 */
  6976. label00004660:
  6977. 00004660  3046                     movea.w    A0, D6
  6978. 00004662  2008                     move.l     D0, A0
  6979. 00004664  E588                     lsl        D0, 2
  6980. 00004666  206F 00F0                movea.l    A0, [A7 + 0xF0]
  6981. 0000466A  2830 0800                move.l     D4, [A0 + D0]
  6982. 0000466E  3046                     movea.w    A0, D6
  6983. 00004670  2008                     move.l     D0, A0
  6984. 00004672  E588                     lsl        D0, 2
  6985. 00004674  41EF 0078                lea.l      A0, [A7 + 0x78]
  6986. 00004678  2470 0800                movea.l    A2, [A0 + D0]
  6987. 0000467C  7600                     moveq.l    D3, 0x00
  6988. 0000467E  604C                     bra        +0x4E /* 000046CC */
  6989. label00004680:
  6990. 00004680  4A92                     tst.l      [A2]
  6991. 00004682  6C06                     bge        +0x8 /* 0000468A */
  6992. 00004684  0C05 0002                cmpi.b     D5, 0x2
  6993. 00004688  670A                     beq        +0xC /* 00004694 */
  6994. label0000468A:
  6995. 0000468A  4A92                     tst.l      [A2]
  6996. 0000468C  6D0A                     blt        +0xC /* 00004698 */
  6997. 0000468E  0C05 0001                cmpi.b     D5, 0x1
  6998. 00004692  6604                     bne        +0x6 /* 00004698 */
  6999. label00004694:
  7000. 00004694  2604                     move.l     D3, D4
  7001. 00004696  6038                     bra        +0x3A /* 000046D0 */
  7002. label00004698:
  7003. 00004698  4A92                     tst.l      [A2]
  7004. 0000469A  6C16                     bge        +0x18 /* 000046B2 */
  7005. 0000469C  204C                     movea.l    A0, A4
  7006. 0000469E  700C                     moveq.l    D0, 0x0C
  7007. 000046A0  D9C0                     add.l      A4, D0
  7008. 000046A2  2092                     move.l     [A0], [A2]
  7009. 000046A4  216A 0004 0004           move.l     [A0 + 0x4], [A2 + 0x4]
  7010. 000046AA  216A 0008 0008           move.l     [A0 + 0x8], [A2 + 0x8]
  7011. 000046B0  601E                     bra        +0x20 /* 000046D0 */
  7012. label000046B2:
  7013. 000046B2  2013                     move.l     D0, [A3]
  7014. 000046B4  5280                     addq.l     D0, 1
  7015. 000046B6  B092                     cmp.l      D0, [A2]
  7016. 000046B8  6716                     beq        +0x18 /* 000046D0 */
  7017. 000046BA  2013                     move.l     D0, [A3]
  7018. 000046BC  5280                     addq.l     D0, 1
  7019. 000046BE  B092                     cmp.l      D0, [A2]
  7020. 000046C0  6C04                     bge        +0x6 /* 000046C6 */
  7021. 000046C2  2604                     move.l     D3, D4
  7022. 000046C4  600A                     bra        +0xC /* 000046D0 */
  7023. label000046C6:
  7024. 000046C6  5283                     addq.l     D3, 1
  7025. 000046C8  700C                     moveq.l    D0, 0x0C
  7026. 000046CA  D5C0                     add.l      A2, D0
  7027. label000046CC:
  7028. 000046CC  B684                     cmp.l      D3, D4
  7029. 000046CE  6DB0                     blt        -0x4E /* 00004680 */
  7030. label000046D0:
  7031. 000046D0  B684                     cmp.l      D3, D4
  7032. 000046D2  662A                     bne        +0x2C /* 000046FE */
  7033. 000046D4  70FF                     moveq.l    D0, 0xFFFFFFFF
  7034. 000046D6  2C80                     move.l     [A6], D0
  7035. 000046D8  70FF                     moveq.l    D0, 0xFFFFFFFF
  7036. 000046DA  2D40 0004                move.l     [A6 + 0x4], D0
  7037. 000046DE  70FF                     moveq.l    D0, 0xFFFFFFFF
  7038. 000046E0  2D40 0008                move.l     [A6 + 0x8], D0
  7039. 000046E4  0C05 0001                cmpi.b     D5, 0x1
  7040. 000046E8  6622                     bne        +0x24 /* 0000470C */
  7041. 000046EA  202F 0108                move.l     D0, [A7 + 0x108]
  7042. 000046EE  720C                     moveq.l    D1, 0x0C
  7043. 000046F0  4EAD D8F8                jsr        [A5 - 0x2708]
  7044. 000046F4  206F 00F4                movea.l    A0, [A7 + 0xF4]
  7045. 000046F8  D1C0                     add.l      A0, D0
  7046. 000046FA  2848                     movea.l    A4, A0
  7047. 000046FC  600E                     bra        +0x10 /* 0000470C */
  7048. label000046FE:
  7049. 000046FE  264A                     movea.l    A3, A2
  7050. 00004700  5246                     addq.w     D6, 1
  7051. label00004702:
  7052. 00004702  3006                     move.w     D0, D6
  7053. 00004704  48C0                     ext.l      D0
  7054. 00004706  B087                     cmp.l      D0, D7
  7055. 00004708  6D00 FF56                blt        -0xA8 /* 00004660 */
  7056. label0000470C:
  7057. 0000470C  3006                     move.w     D0, D6
  7058. 0000470E  48C0                     ext.l      D0
  7059. 00004710  B087                     cmp.l      D0, D7
  7060. 00004712  660E                     bne        +0x10 /* 00004722 */
  7061. 00004714  52AF 0014                addq.l     [A7 + 0x14], 1
  7062. 00004718  0C05 0001                cmpi.b     D5, 0x1
  7063. 0000471C  6604                     bne        +0x6 /* 00004722 */
  7064. 0000471E  DFAF 0108                add.l      [A7 + 0x108], D7
  7065. label00004722:
  7066. 00004722  52AF 00F8                addq.l     [A7 + 0xF8], 1
  7067. label00004726:
  7068. 00004726  206F 00F0                movea.l    A0, [A7 + 0xF0]
  7069. 0000472A  202F 00F8                move.l     D0, [A7 + 0xF8]
  7070. 0000472E  B090                     cmp.l      D0, [A0]
  7071. 00004730  6D00 FE32                blt        -0x1CC /* 00004564 */
  7072. 00004734  4AAF 0014                tst.l      [A7 + 0x14]
  7073. 00004738  6700 00F8                beq        +0xFA /* 00004832 */
  7074. 0000473C  7800                     moveq.l    D4, 0x00
  7075. 0000473E  202F 0014                move.l     D0, [A7 + 0x14]
  7076. 00004742  2207                     move.l     D1, D7
  7077. 00004744  4EAD D8F8                jsr        [A5 - 0x2708]
  7078. 00004748  206F 013A                movea.l    A0, [A7 + 0x13A]
  7079. 0000474C  2140 0018                move.l     [A0 + 0x18], D0
  7080. 00004750  2028 0018                move.l     D0, [A0 + 0x18]
  7081. 00004754  720C                     moveq.l    D1, 0x0C
  7082. 00004756  4EAD D8F8                jsr        [A5 - 0x2708]
  7083. 0000475A  2F00                     move.l     -[A7], D0
  7084. 0000475C  4EBA 13AC                jsr        [PC + 0x13AC /* 00005B0A */]
  7085. 00004760  226F 013E                movea.l    A1, [A7 + 0x13E]
  7086. 00004764  2348 001C                move.l     [A1 + 0x1C], A0
  7087. 00004768  2049                     movea.l    A0, A1
  7088. 0000476A  4AA8 001C                tst.l      [A0 + 0x1C]
  7089. 0000476E  584F                     addq.w     A7, 4
  7090. 00004770  662E                     bne        +0x30 /* 000047A0 */
  7091. 00004772  3F7C 0001 001C           move.w     [A7 + 0x1C], 0x1
  7092. 00004778  42AF 00F8                clr.l      [A7 + 0xF8]
  7093. 0000477C  6018                     bra        +0x1A /* 00004796 */
  7094. label0000477E:
  7095. 0000477E  202F 00F8                move.l     D0, [A7 + 0xF8]
  7096. 00004782  E588                     lsl        D0, 2
  7097. 00004784  206F 001E                movea.l    A0, [A7 + 0x1E]
  7098. 00004788  2F30 0800                move.l     -[A7], [A0 + D0]
  7099. 0000478C  4EBA 13F6                jsr        [PC + 0x13F6 /* 00005B84 */]
  7100. 00004790  52AF 00FC                addq.l     [A7 + 0xFC], 1
  7101. 00004794  584F                     addq.w     A7, 4
  7102. label00004796:
  7103. 00004796  BEAF 00F8                cmp.l      D7, [A7 + 0xF8]
  7104. 0000479A  6EE2                     bgt        -0x1C /* 0000477E */
  7105. 0000479C  6000 00B8                bra        +0xBA /* 00004856 */
  7106. label000047A0:
  7107. 000047A0  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  7108. 000047A4  4EBA 13B8                jsr        [PC + 0x13B8 /* 00005B5E */]
  7109. 000047A8  2448                     movea.l    A2, A0
  7110. 000047AA  2648                     movea.l    A3, A0
  7111. 000047AC  42AF 00FC                clr.l      [A7 + 0xFC]
  7112. 000047B0  584F                     addq.w     A7, 4
  7113. 000047B2  6072                     bra        +0x74 /* 00004826 */
  7114. label000047B4:
  7115. 000047B4  202F 00F8                move.l     D0, [A7 + 0xF8]
  7116. 000047B8  720C                     moveq.l    D1, 0x0C
  7117. 000047BA  4EAD D8F8                jsr        [A5 - 0x2708]
  7118. 000047BE  206F 0078                movea.l    A0, [A7 + 0x78]
  7119. 000047C2  D1C0                     add.l      A0, D0
  7120. 000047C4  2648                     movea.l    A3, A0
  7121. 000047C6  70FF                     moveq.l    D0, 0xFFFFFFFF
  7122. 000047C8  B093                     cmp.l      D0, [A3]
  7123. 000047CA  6610                     bne        +0x12 /* 000047DC */
  7124. 000047CC  70FF                     moveq.l    D0, 0xFFFFFFFF
  7125. 000047CE  B0AB 0004                cmp.l      D0, [A3 + 0x4]
  7126. 000047D2  6608                     bne        +0xA /* 000047DC */
  7127. 000047D4  70FF                     moveq.l    D0, 0xFFFFFFFF
  7128. 000047D6  B0AB 0008                cmp.l      D0, [A3 + 0x8]
  7129. 000047DA  6746                     beq        +0x48 /* 00004822 */
  7130. label000047DC:
  7131. 000047DC  4A93                     tst.l      [A3]
  7132. 000047DE  6C2E                     bge        +0x30 /* 0000480E */
  7133. 000047E0  2004                     move.l     D0, D4
  7134. 000047E2  720C                     moveq.l    D1, 0x0C
  7135. 000047E4  4EAD D8F8                jsr        [A5 - 0x2708]
  7136. 000047E8  206F 00F4                movea.l    A0, [A7 + 0xF4]
  7137. 000047EC  D1C0                     add.l      A0, D0
  7138. 000047EE  2848                     movea.l    A4, A0
  7139. 000047F0  7600                     moveq.l    D3, 0x00
  7140. 000047F2  6012                     bra        +0x14 /* 00004806 */
  7141. label000047F4:
  7142. 000047F4  204C                     movea.l    A0, A4
  7143. 000047F6  700C                     moveq.l    D0, 0x0C
  7144. 000047F8  D9C0                     add.l      A4, D0
  7145. 000047FA  224A                     movea.l    A1, A2
  7146. 000047FC  D5C0                     add.l      A2, D0
  7147. 000047FE  22D8                     move.l     [A1]+, [A0]+
  7148. 00004800  22D8                     move.l     [A1]+, [A0]+
  7149. 00004802  22D8                     move.l     [A1]+, [A0]+
  7150. 00004804  5283                     addq.l     D3, 1
  7151. label00004806:
  7152. 00004806  B687                     cmp.l      D3, D7
  7153. 00004808  6DEA                     blt        -0x14 /* 000047F4 */
  7154. 0000480A  D887                     add.l      D4, D7
  7155. 0000480C  6014                     bra        +0x16 /* 00004822 */
  7156. label0000480E:
  7157. 0000480E  7600                     moveq.l    D3, 0x00
  7158. 00004810  600C                     bra        +0xE /* 0000481E */
  7159. label00004812:
  7160. 00004812  2013                     move.l     D0, [A3]
  7161. 00004814  D083                     add.l      D0, D3
  7162. 00004816  2480                     move.l     [A2], D0
  7163. 00004818  5283                     addq.l     D3, 1
  7164. 0000481A  700C                     moveq.l    D0, 0x0C
  7165. 0000481C  D5C0                     add.l      A2, D0
  7166. label0000481E:
  7167. 0000481E  B687                     cmp.l      D3, D7
  7168. 00004820  6DF0                     blt        -0xE /* 00004812 */
  7169. label00004822:
  7170. 00004822  52AF 00F8                addq.l     [A7 + 0xF8], 1
  7171. label00004826:
  7172. 00004826  206F 00F0                movea.l    A0, [A7 + 0xF0]
  7173. 0000482A  202F 00F8                move.l     D0, [A7 + 0xF8]
  7174. 0000482E  B090                     cmp.l      D0, [A0]
  7175. 00004830  6D82                     blt        -0x7C /* 000047B4 */
  7176. label00004832:
  7177. 00004832  42AF 00F8                clr.l      [A7 + 0xF8]
  7178. 00004836  6018                     bra        +0x1A /* 00004850 */
  7179. label00004838:
  7180. 00004838  202F 00F8                move.l     D0, [A7 + 0xF8]
  7181. 0000483C  E588                     lsl        D0, 2
  7182. 0000483E  206F 001E                movea.l    A0, [A7 + 0x1E]
  7183. 00004842  2F30 0800                move.l     -[A7], [A0 + D0]
  7184. 00004846  4EBA 133C                jsr        [PC + 0x133C /* 00005B84 */]
  7185. 0000484A  52AF 00FC                addq.l     [A7 + 0xFC], 1
  7186. 0000484E  584F                     addq.w     A7, 4
  7187. label00004850:
  7188. 00004850  BEAF 00F8                cmp.l      D7, [A7 + 0xF8]
  7189. 00004854  6EE2                     bgt        -0x1C /* 00004838 */
  7190. label00004856:
  7191. 00004856  4AAF 00F4                tst.l      [A7 + 0xF4]
  7192. 0000485A  670A                     beq        +0xC /* 00004866 */
  7193. 0000485C  2F2F 0100                move.l     -[A7], [A7 + 0x100]
  7194. 00004860  4EBA 1322                jsr        [PC + 0x1322 /* 00005B84 */]
  7195. 00004864  584F                     addq.w     A7, 4
  7196. label00004866:
  7197. 00004866  4AAF 0100                tst.l      [A7 + 0x100]
  7198. 0000486A  670A                     beq        +0xC /* 00004876 */
  7199. 0000486C  2F2F 0100                move.l     -[A7], [A7 + 0x100]
  7200. 00004870  4EBA 12D0                jsr        [PC + 0x12D0 /* 00005B42 */]
  7201. 00004874  584F                     addq.w     A7, 4
  7202. label00004876:
  7203. 00004876  4AAF 00F0                tst.l      [A7 + 0xF0]
  7204. 0000487A  6708                     beq        +0xA /* 00004884 */
  7205. 0000487C  2F17                     move.l     -[A7], [A7]
  7206. 0000487E  4EBA 1304                jsr        [PC + 0x1304 /* 00005B84 */]
  7207. 00004882  584F                     addq.w     A7, 4
  7208. label00004884:
  7209. 00004884  4A97                     tst.l      [A7]
  7210. 00004886  6708                     beq        +0xA /* 00004890 */
  7211. 00004888  2F17                     move.l     -[A7], [A7]
  7212. 0000488A  4EBA 12B6                jsr        [PC + 0x12B6 /* 00005B42 */]
  7213. 0000488E  584F                     addq.w     A7, 4
  7214. label00004890:
  7215. 00004890  4AAF 001E                tst.l      [A7 + 0x1E]
  7216. 00004894  670A                     beq        +0xC /* 000048A0 */
  7217. 00004896  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7218. 0000489A  4EBA 12E8                jsr        [PC + 0x12E8 /* 00005B84 */]
  7219. 0000489E  584F                     addq.w     A7, 4
  7220. label000048A0:
  7221. 000048A0  4AAF 0004                tst.l      [A7 + 0x4]
  7222. 000048A4  670A                     beq        +0xC /* 000048B0 */
  7223. 000048A6  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7224. 000048AA  4EBA 1296                jsr        [PC + 0x1296 /* 00005B42 */]
  7225. 000048AE  584F                     addq.w     A7, 4
  7226. label000048B0:
  7227. 000048B0  4AAF 0018                tst.l      [A7 + 0x18]
  7228. 000048B4  670A                     beq        +0xC /* 000048C0 */
  7229. 000048B6  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  7230. 000048BA  4EBA 1364                jsr        [PC + 0x1364 /* 00005C20 */]
  7231. 000048BE  584F                     addq.w     A7, 4
  7232. label000048C0:
  7233. 000048C0  302F 001C                move.w     D0, [A7 + 0x1C]
  7234. 000048C4  4FEF 010C                lea.l      A7, [A7 + 0x10C]
  7235. 000048C8  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7236. 000048CC  4E75                     rts
  7237. 000048CE  48E7 1030                movem.l    -[A7], D3,A2,A3
  7238. 000048D2  594F                     subq.w     A7, 4
  7239. 000048D4  246F 0014                movea.l    A2, [A7 + 0x14]
  7240. 000048D8  7600                     moveq.l    D3, 0x00
  7241. 000048DA  4AAA 029A                tst.l      [A2 + 0x29A]
  7242. 000048DE  670E                     beq        +0x10 /* 000048EE */
  7243. 000048E0  2F2A 029A                move.l     -[A7], [A2 + 0x29A]
  7244. 000048E4  4EBA 133A                jsr        [PC + 0x133A /* 00005C20 */]
  7245. 000048E8  42AA 029A                clr.l      [A2 + 0x29A]
  7246. 000048EC  584F                     addq.w     A7, 4
  7247. label000048EE:
  7248. 000048EE  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  7249. 000048F2  4EBA B8C2                jsr        [PC - 0x473E /* 000001B6 */]
  7250. 000048F6  584F                     addq.w     A7, 4
  7251. 000048F8  2F00                     move.l     -[A7], D0
  7252. 000048FA  4EAD EC40                jsr        [A5 - 0x13C0]
  7253. 000048FE  2648                     movea.l    A3, A0
  7254. 00004900  200B                     move.l     D0, A3
  7255. 00004902  584F                     addq.w     A7, 4
  7256. 00004904  660A                     bne        +0xC /* 00004910 */
  7257. 00004906  7001                     moveq.l    D0, 0x01
  7258. 00004908  584F                     addq.w     A7, 4
  7259. 0000490A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7260. 0000490E  4E75                     rts
  7261. label00004910:
  7262. 00004910  2F0B                     move.l     -[A7], A3
  7263. 00004912  2F2A 029E                move.l     -[A7], [A2 + 0x29E]
  7264. 00004916  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  7265. 0000491A  4EBA B978                jsr        [PC - 0x4688 /* 00000294 */]
  7266. 0000491E  3600                     move.w     D3, D0
  7267. 00004920  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7268. 00004924  6710                     beq        +0x12 /* 00004936 */
  7269. 00004926  2F0B                     move.l     -[A7], A3
  7270. 00004928  4EBA 12F6                jsr        [PC + 0x12F6 /* 00005C20 */]
  7271. 0000492C  3003                     move.w     D0, D3
  7272. 0000492E  504F                     addq.w     A7, 8
  7273. 00004930  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7274. 00004934  4E75                     rts
  7275. label00004936:
  7276. 00004936  254B 029A                move.l     [A2 + 0x29A], A3
  7277. 0000493A  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  7278. 0000493E  4EBA B876                jsr        [PC - 0x478A /* 000001B6 */]
  7279. 00004942  584F                     addq.w     A7, 4
  7280. 00004944  2F00                     move.l     -[A7], D0
  7281. 00004946  2F0B                     move.l     -[A7], A3
  7282. 00004948  4EAD EC48                jsr        [A5 - 0x13B8]
  7283. 0000494C  2F40 0008                move.l     [A7 + 0x8], D0
  7284. 00004950  3003                     move.w     D0, D3
  7285. 00004952  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7286. 00004956  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7287. 0000495A  4E75                     rts
  7288. fn0000495C:
  7289. 0000495C  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  7290. 00004960  286F 001C                movea.l    A4, [A7 + 0x1C]
  7291. 00004964  246F 0020                movea.l    A2, [A7 + 0x20]
  7292. 00004968  266F 0024                movea.l    A3, [A7 + 0x24]
  7293. 0000496C  206F 0018                movea.l    A0, [A7 + 0x18]
  7294. 00004970  2068 02BA                movea.l    A0, [A0 + 0x2BA]
  7295. 00004974  2628 000C                move.l     D3, [A0 + 0xC]
  7296. 00004978  548B                     addq.l     A3, 2
  7297. label0000497A:
  7298. 0000497A  4872 3809                pea.l      [A2 + D3 + 0x9]
  7299. 0000497E  2F0B                     move.l     -[A7], A3
  7300. 00004980  4E94                     jsr        [A4]
  7301. 00004982  3800                     move.w     D4, D0
  7302. 00004984  3004                     move.w     D0, D4
  7303. 00004986  48C0                     ext.l      D0
  7304. 00004988  4A80                     tst.l      D0
  7305. 0000498A  504F                     addq.w     A7, 8
  7306. 0000498C  6C14                     bge        +0x16 /* 000049A2 */
  7307. 0000498E  4AB2 3800                tst.l      [A2 + D3]
  7308. 00004992  6706                     beq        +0x8 /* 0000499A */
  7309. 00004994  2632 3800                move.l     D3, [A2 + D3]
  7310. 00004998  60E0                     bra        -0x1E /* 0000497A */
  7311. label0000499A:
  7312. 0000499A  7000                     moveq.l    D0, 0x00
  7313. 0000499C  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  7314. 000049A0  4E75                     rts
  7315. label000049A2:
  7316. 000049A2  3004                     move.w     D0, D4
  7317. 000049A4  48C0                     ext.l      D0
  7318. 000049A6  4A80                     tst.l      D0
  7319. 000049A8  6F14                     ble        +0x16 /* 000049BE */
  7320. 000049AA  4AB2 3804                tst.l      [A2 + D3 + 0x4]
  7321. 000049AE  6706                     beq        +0x8 /* 000049B6 */
  7322. 000049B0  2632 3804                move.l     D3, [A2 + D3 + 0x4]
  7323. 000049B4  60C4                     bra        -0x3A /* 0000497A */
  7324. label000049B6:
  7325. 000049B6  7000                     moveq.l    D0, 0x00
  7326. 000049B8  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  7327. 000049BC  4E75                     rts
  7328. label000049BE:
  7329. 000049BE  7001                     moveq.l    D0, 0x01
  7330. 000049C0  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  7331. 000049C4  4E75                     rts
  7332. 000049C6  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  7333. 000049CA  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  7334. 000049CE  206F 0040                movea.l    A0, [A7 + 0x40]
  7335. 000049D2  2E28 0018                move.l     D7, [A0 + 0x18]
  7336. 000049D6  7001                     moveq.l    D0, 0x01
  7337. 000049D8  BE80                     cmp.l      D7, D0
  7338. 000049DA  6700 011A                beq        +0x11C /* 00004AF6 */
  7339. 000049DE  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  7340. 000049E2  4EBA 117A                jsr        [PC + 0x117A /* 00005B5E */]
  7341. 000049E6  2448                     movea.l    A2, A0
  7342. 000049E8  7801                     moveq.l    D4, 0x01
  7343. 000049EA  584F                     addq.w     A7, 4
  7344. 000049EC  600C                     bra        +0xE /* 000049FA */
  7345. label000049EE:
  7346. 000049EE  2004                     move.l     D0, D4
  7347. 000049F0  7203                     moveq.l    D1, 0x03
  7348. 000049F2  4EAD D8F8                jsr        [A5 - 0x2708]
  7349. 000049F6  5280                     addq.l     D0, 1
  7350. 000049F8  2800                     move.l     D4, D0
  7351. label000049FA:
  7352. 000049FA  B887                     cmp.l      D4, D7
  7353. 000049FC  6FF0                     ble        -0xE /* 000049EE */
  7354. 000049FE  2004                     move.l     D0, D4
  7355. 00004A00  7203                     moveq.l    D1, 0x03
  7356. 00004A02  4EAD D904                jsr        [A5 - 0x26FC]
  7357. 00004A06  2800                     move.l     D4, D0
  7358. 00004A08  6000 00D8                bra        +0xDA /* 00004AE2 */
  7359. label00004A0C:
  7360. 00004A0C  2C04                     move.l     D6, D4
  7361. 00004A0E  6000 00C2                bra        +0xC4 /* 00004AD2 */
  7362. label00004A12:
  7363. 00004A12  2606                     move.l     D3, D6
  7364. 00004A14  9684                     sub.l      D3, D4
  7365. 00004A16  6000 00B2                bra        +0xB4 /* 00004ACA */
  7366. label00004A1A:
  7367. 00004A1A  2004                     move.l     D0, D4
  7368. 00004A1C  720C                     moveq.l    D1, 0x0C
  7369. 00004A1E  4EAD D8F8                jsr        [A5 - 0x2708]
  7370. 00004A22  2E80                     move.l     [A7], D0
  7371. 00004A24  2003                     move.l     D0, D3
  7372. 00004A26  720C                     moveq.l    D1, 0x0C
  7373. 00004A28  4EAD D8F8                jsr        [A5 - 0x2708]
  7374. 00004A2C  204A                     movea.l    A0, A2
  7375. 00004A2E  D1C0                     add.l      A0, D0
  7376. 00004A30  D1D7                     add.l      A0, [A7]
  7377. 00004A32  2648                     movea.l    A3, A0
  7378. 00004A34  2853                     movea.l    A4, [A3]
  7379. 00004A36  2003                     move.l     D0, D3
  7380. 00004A38  720C                     moveq.l    D1, 0x0C
  7381. 00004A3A  4EAD D8F8                jsr        [A5 - 0x2708]
  7382. 00004A3E  2C72 0800                movea.l    A6, [A2 + D0]
  7383. 00004A42  2A0E                     move.l     D5, A6
  7384. 00004A44  9A8C                     sub.l      D5, A4
  7385. 00004A46  4A85                     tst.l      D5
  7386. 00004A48  6D00 0086                blt        +0x88 /* 00004AD0 */
  7387. 00004A4C  4A85                     tst.l      D5
  7388. 00004A4E  661A                     bne        +0x1C /* 00004A6A */
  7389. 00004A50  200E                     move.l     D0, A6
  7390. 00004A52  6C7C                     bge        +0x7E /* 00004AD0 */
  7391. 00004A54  200C                     move.l     D0, A4
  7392. 00004A56  6C78                     bge        +0x7A /* 00004AD0 */
  7393. 00004A58  2003                     move.l     D0, D3
  7394. 00004A5A  720C                     moveq.l    D1, 0x0C
  7395. 00004A5C  4EAD D8F8                jsr        [A5 - 0x2708]
  7396. 00004A60  2032 0804                move.l     D0, [A2 + D0 + 0x4]
  7397. 00004A64  B0AB 0004                cmp.l      D0, [A3 + 0x4]
  7398. 00004A68  6F66                     ble        +0x68 /* 00004AD0 */
  7399. label00004A6A:
  7400. 00004A6A  2003                     move.l     D0, D3
  7401. 00004A6C  720C                     moveq.l    D1, 0x0C
  7402. 00004A6E  4EAD D8F8                jsr        [A5 - 0x2708]
  7403. 00004A72  204A                     movea.l    A0, A2
  7404. 00004A74  D1C0                     add.l      A0, D0
  7405. 00004A76  2F50 0008                move.l     [A7 + 0x8], [A0]
  7406. 00004A7A  2F68 0004 000C           move.l     [A7 + 0xC], [A0 + 0x4]
  7407. 00004A80  2F68 0008 0010           move.l     [A7 + 0x10], [A0 + 0x8]
  7408. 00004A86  2004                     move.l     D0, D4
  7409. 00004A88  720C                     moveq.l    D1, 0x0C
  7410. 00004A8A  4EAD D8F8                jsr        [A5 - 0x2708]
  7411. 00004A8E  2E80                     move.l     [A7], D0
  7412. 00004A90  2003                     move.l     D0, D3
  7413. 00004A92  720C                     moveq.l    D1, 0x0C
  7414. 00004A94  4EAD D8F8                jsr        [A5 - 0x2708]
  7415. 00004A98  204A                     movea.l    A0, A2
  7416. 00004A9A  D1C0                     add.l      A0, D0
  7417. 00004A9C  D1D7                     add.l      A0, [A7]
  7418. 00004A9E  2F48 0004                move.l     [A7 + 0x4], A0
  7419. 00004AA2  2003                     move.l     D0, D3
  7420. 00004AA4  720C                     moveq.l    D1, 0x0C
  7421. 00004AA6  4EAD D8F8                jsr        [A5 - 0x2708]
  7422. 00004AAA  224A                     movea.l    A1, A2
  7423. 00004AAC  D3C0                     add.l      A1, D0
  7424. 00004AAE  22D8                     move.l     [A1]+, [A0]+
  7425. 00004AB0  22D8                     move.l     [A1]+, [A0]+
  7426. 00004AB2  22D8                     move.l     [A1]+, [A0]+
  7427. 00004AB4  206F 0004                movea.l    A0, [A7 + 0x4]
  7428. 00004AB8  20AF 0008                move.l     [A0], [A7 + 0x8]
  7429. 00004ABC  216F 000C 0004           move.l     [A0 + 0x4], [A7 + 0xC]
  7430. 00004AC2  216F 0010 0008           move.l     [A0 + 0x8], [A7 + 0x10]
  7431. 00004AC8  9684                     sub.l      D3, D4
  7432. label00004ACA:
  7433. 00004ACA  4A83                     tst.l      D3
  7434. 00004ACC  6C00 FF4C                bge        -0xB2 /* 00004A1A */
  7435. label00004AD0:
  7436. 00004AD0  5286                     addq.l     D6, 1
  7437. label00004AD2:
  7438. 00004AD2  BC87                     cmp.l      D6, D7
  7439. 00004AD4  6D00 FF3C                blt        -0xC2 /* 00004A12 */
  7440. 00004AD8  2004                     move.l     D0, D4
  7441. 00004ADA  7203                     moveq.l    D1, 0x03
  7442. 00004ADC  4EAD D904                jsr        [A5 - 0x26FC]
  7443. 00004AE0  2800                     move.l     D4, D0
  7444. label00004AE2:
  7445. 00004AE2  4A84                     tst.l      D4
  7446. 00004AE4  6E00 FF26                bgt        -0xD8 /* 00004A0C */
  7447. 00004AE8  206F 0040                movea.l    A0, [A7 + 0x40]
  7448. 00004AEC  2F28 001C                move.l     -[A7], [A0 + 0x1C]
  7449. 00004AF0  4EBA 1092                jsr        [PC + 0x1092 /* 00005B84 */]
  7450. 00004AF4  584F                     addq.w     A7, 4
  7451. label00004AF6:
  7452. 00004AF6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7453. 00004AFA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7454. 00004AFE  4E75                     rts
  7455. 00004B00  206F 0008                movea.l    A0, [A7 + 0x8]
  7456. 00004B04  0C10 002A                cmpi.b     [A0], 0x2A /* '*' */
  7457. 00004B08  661A                     bne        +0x1C /* 00004B24 */
  7458. 00004B0A  0C28 002A 0001           cmpi.b     [A0 + 0x1], 0x2A /* '*' */
  7459. 00004B10  6612                     bne        +0x14 /* 00004B24 */
  7460. 00004B12  0C28 002A 0002           cmpi.b     [A0 + 0x2], 0x2A /* '*' */
  7461. 00004B18  660A                     bne        +0xC /* 00004B24 */
  7462. 00004B1A  4A28 0003                tst.b      [A0 + 0x3]
  7463. 00004B1E  6604                     bne        +0x6 /* 00004B24 */
  7464. 00004B20  7001                     moveq.l    D0, 0x01
  7465. 00004B22  4E75                     rts
  7466. label00004B24:
  7467. 00004B24  7000                     moveq.l    D0, 0x00
  7468. 00004B26  4E75                     rts
  7469. fn00004B28:
  7470. 00004B28  2F0A                     move.l     -[A7], A2
  7471. 00004B2A  246F 0008                movea.l    A2, [A7 + 0x8]
  7472. 00004B2E  4A6F 000C                tst.w      [A7 + 0xC]
  7473. 00004B32  6716                     beq        +0x18 /* 00004B4A */
  7474. 00004B34  4AAA 02DC                tst.l      [A2 + 0x2DC]
  7475. 00004B38  6624                     bne        +0x26 /* 00004B5E */
  7476. 00004B3A  2F2A 02E0                move.l     -[A7], [A2 + 0x2E0]
  7477. 00004B3E  4EBA 101E                jsr        [PC + 0x101E /* 00005B5E */]
  7478. 00004B42  2548 02DC                move.l     [A2 + 0x2DC], A0
  7479. 00004B46  584F                     addq.w     A7, 4
  7480. 00004B48  6014                     bra        +0x16 /* 00004B5E */
  7481. label00004B4A:
  7482. 00004B4A  4AAA 02DC                tst.l      [A2 + 0x2DC]
  7483. 00004B4E  670E                     beq        +0x10 /* 00004B5E */
  7484. 00004B50  2F2A 02E0                move.l     -[A7], [A2 + 0x2E0]
  7485. 00004B54  4EBA 102E                jsr        [PC + 0x102E /* 00005B84 */]
  7486. 00004B58  42AA 02DC                clr.l      [A2 + 0x2DC]
  7487. 00004B5C  584F                     addq.w     A7, 4
  7488. label00004B5E:
  7489. 00004B5E  206A 02DC                movea.l    A0, [A2 + 0x2DC]
  7490. 00004B62  245F                     movea.l    A2, [A7]+
  7491. 00004B64  4E75                     rts
  7492. fn00004B66:
  7493. 00004B66  2F0A                     move.l     -[A7], A2
  7494. 00004B68  246F 0008                movea.l    A2, [A7 + 0x8]
  7495. 00004B6C  4A6F 000C                tst.w      [A7 + 0xC]
  7496. 00004B70  6716                     beq        +0x18 /* 00004B88 */
  7497. 00004B72  4AAA 02AA                tst.l      [A2 + 0x2AA]
  7498. 00004B76  6624                     bne        +0x26 /* 00004B9C */
  7499. 00004B78  2F2A 02AE                move.l     -[A7], [A2 + 0x2AE]
  7500. 00004B7C  4EBA 0FE0                jsr        [PC + 0xFE0 /* 00005B5E */]
  7501. 00004B80  2548 02AA                move.l     [A2 + 0x2AA], A0
  7502. 00004B84  584F                     addq.w     A7, 4
  7503. 00004B86  6014                     bra        +0x16 /* 00004B9C */
  7504. label00004B88:
  7505. 00004B88  4AAA 02AA                tst.l      [A2 + 0x2AA]
  7506. 00004B8C  670E                     beq        +0x10 /* 00004B9C */
  7507. 00004B8E  2F2A 02AE                move.l     -[A7], [A2 + 0x2AE]
  7508. 00004B92  4EBA 0FF0                jsr        [PC + 0xFF0 /* 00005B84 */]
  7509. 00004B96  42AA 02AA                clr.l      [A2 + 0x2AA]
  7510. 00004B9A  584F                     addq.w     A7, 4
  7511. label00004B9C:
  7512. 00004B9C  206A 02AA                movea.l    A0, [A2 + 0x2AA]
  7513. 00004BA0  245F                     movea.l    A2, [A7]+
  7514. 00004BA2  4E75                     rts
  7515. fn00004BA4:
  7516. 00004BA4  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  7517. 00004BA8  246F 001C                movea.l    A2, [A7 + 0x1C]
  7518. 00004BAC  286F 0020                movea.l    A4, [A7 + 0x20]
  7519. 00004BB0  266F 0024                movea.l    A3, [A7 + 0x24]
  7520. 00004BB4  262F 0028                move.l     D3, [A7 + 0x28]
  7521. 00004BB8  2C6F 002C                movea.l    A6, [A7 + 0x2C]
  7522. 00004BBC  200A                     move.l     D0, A2
  7523. 00004BBE  663E                     bne        +0x40 /* 00004BFE */
  7524. 00004BC0  4AAD A6A8                tst.l      [A5 - 0x5958]
  7525. 00004BC4  670A                     beq        +0xC /* 00004BD0 */
  7526. 00004BC6  2F2D A6A8                move.l     -[A7], [A5 - 0x5958]
  7527. 00004BCA  4EBA 0FB8                jsr        [PC + 0xFB8 /* 00005B84 */]
  7528. 00004BCE  584F                     addq.w     A7, 4
  7529. label00004BD0:
  7530. 00004BD0  4AAD A6A0                tst.l      [A5 - 0x5960]
  7531. 00004BD4  670A                     beq        +0xC /* 00004BE0 */
  7532. 00004BD6  2F2D A6A0                move.l     -[A7], [A5 - 0x5960]
  7533. 00004BDA  4EBA 0FA8                jsr        [PC + 0xFA8 /* 00005B84 */]
  7534. 00004BDE  584F                     addq.w     A7, 4
  7535. label00004BE0:
  7536. 00004BE0  3B7C FFFF B6E6           move.w     [A5 - 0x491A], 0xFFFF
  7537. 00004BE6  42AD A6A8                clr.l      [A5 - 0x5958]
  7538. 00004BEA  42AD A6A4                clr.l      [A5 - 0x595C]
  7539. 00004BEE  42AD A6A0                clr.l      [A5 - 0x5960]
  7540. 00004BF2  42AD A69C                clr.l      [A5 - 0x5964]
  7541. 00004BF6  4294                     clr.l      [A4]
  7542. 00004BF8  4293                     clr.l      [A3]
  7543. 00004BFA  6000 00AA                bra        +0xAC /* 00004CA6 */
  7544. label00004BFE:
  7545. 00004BFE  3012                     move.w     D0, [A2]
  7546. 00004C00  B06D B6E6                cmp.w      D0, [A5 - 0x491A]
  7547. 00004C04  6730                     beq        +0x32 /* 00004C36 */
  7548. 00004C06  0C6D FFFF B6E6           cmpi.w     [A5 - 0x491A], 0xFFFF
  7549. 00004C0C  6728                     beq        +0x2A /* 00004C36 */
  7550. 00004C0E  4AAD A6A8                tst.l      [A5 - 0x5958]
  7551. 00004C12  6722                     beq        +0x24 /* 00004C36 */
  7552. 00004C14  2F2D A6A8                move.l     -[A7], [A5 - 0x5958]
  7553. 00004C18  4EBA 0F6A                jsr        [PC + 0xF6A /* 00005B84 */]
  7554. 00004C1C  42AD A6A8                clr.l      [A5 - 0x5958]
  7555. 00004C20  42AD A6A4                clr.l      [A5 - 0x595C]
  7556. 00004C24  2F2D A6A0                move.l     -[A7], [A5 - 0x5960]
  7557. 00004C28  4EBA 0F5A                jsr        [PC + 0xF5A /* 00005B84 */]
  7558. 00004C2C  42AD A6A0                clr.l      [A5 - 0x5960]
  7559. 00004C30  42AD A69C                clr.l      [A5 - 0x5964]
  7560. 00004C34  504F                     addq.w     A7, 8
  7561. label00004C36:
  7562. 00004C36  3B52 B6E6                move.w     [A5 - 0x491A], [A2]
  7563. 00004C3A  2B6A 0002 A6A8           move.l     [A5 - 0x5958], [A2 + 0x2]
  7564. 00004C40  4AAD A6A8                tst.l      [A5 - 0x5958]
  7565. 00004C44  6710                     beq        +0x12 /* 00004C56 */
  7566. 00004C46  2F2D A6A8                move.l     -[A7], [A5 - 0x5958]
  7567. 00004C4A  4EBA 0F12                jsr        [PC + 0xF12 /* 00005B5E */]
  7568. 00004C4E  2B48 A6A4                move.l     [A5 - 0x595C], A0
  7569. 00004C52  584F                     addq.w     A7, 4
  7570. 00004C54  6004                     bra        +0x6 /* 00004C5A */
  7571. label00004C56:
  7572. 00004C56  42AD A6A4                clr.l      [A5 - 0x595C]
  7573. label00004C5A:
  7574. 00004C5A  2B6A 0052 A6A0           move.l     [A5 - 0x5960], [A2 + 0x52]
  7575. 00004C60  2F2D A6A0                move.l     -[A7], [A5 - 0x5960]
  7576. 00004C64  4EBA 0EF8                jsr        [PC + 0xEF8 /* 00005B5E */]
  7577. 00004C68  2B48 A69C                move.l     [A5 - 0x5964], A0
  7578. 00004C6C  3F2A 005C                move.w     -[A7], [A2 + 0x5C]
  7579. 00004C70  2F2D A69C                move.l     -[A7], [A5 - 0x5964]
  7580. 00004C74  206A 0026                movea.l    A0, [A2 + 0x26]
  7581. 00004C78  4E90                     jsr        [A0]
  7582. 00004C7A  200C                     move.l     D0, A4
  7583. 00004C7C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7584. 00004C80  6706                     beq        +0x8 /* 00004C88 */
  7585. 00004C82  204A                     movea.l    A0, A2
  7586. 00004C84  5488                     addq.l     A0, 2
  7587. 00004C86  2888                     move.l     [A4], A0
  7588. label00004C88:
  7589. 00004C88  200B                     move.l     D0, A3
  7590. 00004C8A  6704                     beq        +0x6 /* 00004C90 */
  7591. 00004C8C  26AD A6A4                move.l     [A3], [A5 - 0x595C]
  7592. label00004C90:
  7593. 00004C90  4A83                     tst.l      D3
  7594. 00004C92  670A                     beq        +0xC /* 00004C9E */
  7595. 00004C94  204A                     movea.l    A0, A2
  7596. 00004C96  41E8 0052                lea.l      A0, [A0 + 0x52]
  7597. 00004C9A  2243                     movea.l    A1, D3
  7598. 00004C9C  2288                     move.l     [A1], A0
  7599. label00004C9E:
  7600. 00004C9E  200E                     move.l     D0, A6
  7601. 00004CA0  6704                     beq        +0x6 /* 00004CA6 */
  7602. 00004CA2  2CAD A69C                move.l     [A6], [A5 - 0x5964]
  7603. label00004CA6:
  7604. 00004CA6  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  7605. 00004CAA  4E75                     rts
  7606. fn00004CAC:
  7607. 00004CAC  2F0A                     move.l     -[A7], A2
  7608. 00004CAE  246F 0008                movea.l    A2, [A7 + 0x8]
  7609. 00004CB2  2F2A 02E0                move.l     -[A7], [A2 + 0x2E0]
  7610. 00004CB6  4EBA 0ECC                jsr        [PC + 0xECC /* 00005B84 */]
  7611. 00004CBA  42AA 02DC                clr.l      [A2 + 0x2DC]
  7612. 00004CBE  06AA 0000 07D0 02E4      addi.l     [A2 + 0x2E4], 0x7D0
  7613. 00004CC6  202A 02E4                move.l     D0, [A2 + 0x2E4]
  7614. 00004CCA  E788                     lsl        D0, 3
  7615. 00004CCC  2F00                     move.l     -[A7], D0
  7616. 00004CCE  2F2A 02E0                move.l     -[A7], [A2 + 0x2E0]
  7617. 00004CD2  4EBA 0ECC                jsr        [PC + 0xECC /* 00005BA0 */]
  7618. 00004CD6  4EBA 0E08                jsr        [PC + 0xE08 /* 00005AE0 */]
  7619. 00004CDA  4A40                     tst.w      D0
  7620. 00004CDC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7621. 00004CE0  6706                     beq        +0x8 /* 00004CE8 */
  7622. 00004CE2  7001                     moveq.l    D0, 0x01
  7623. 00004CE4  245F                     movea.l    A2, [A7]+
  7624. 00004CE6  4E75                     rts
  7625. label00004CE8:
  7626. 00004CE8  2F2A 02E0                move.l     -[A7], [A2 + 0x2E0]
  7627. 00004CEC  4EBA 0E70                jsr        [PC + 0xE70 /* 00005B5E */]
  7628. 00004CF0  2548 0320                move.l     [A2 + 0x320], A0
  7629. 00004CF4  202A 02E8                move.l     D0, [A2 + 0x2E8]
  7630. 00004CF8  E788                     lsl        D0, 3
  7631. 00004CFA  D1AA 0320                add.l      [A2 + 0x320], D0
  7632. 00004CFE  7000                     moveq.l    D0, 0x00
  7633. 00004D00  584F                     addq.w     A7, 4
  7634. 00004D02  245F                     movea.l    A2, [A7]+
  7635. 00004D04  4E75                     rts
  7636. fn00004D06:
  7637. 00004D06  2F0A                     move.l     -[A7], A2
  7638. 00004D08  514F                     subq.w     A7, 8
  7639. 00004D0A  246F 0010                movea.l    A2, [A7 + 0x10]
  7640. 00004D0E  2EAD A694                move.l     [A7], [A5 - 0x596C]
  7641. 00004D12  2F6D A698 0004           move.l     [A7 + 0x4], [A5 - 0x5968]
  7642. 00004D18  606C                     bra        +0x6E /* 00004D86 */
  7643. label00004D1A:
  7644. 00004D1A  206A 032C                movea.l    A0, [A2 + 0x32C]
  7645. 00004D1E  2EA8 0004                move.l     [A7], [A0 + 0x4]
  7646. 00004D22  206A 032C                movea.l    A0, [A2 + 0x32C]
  7647. 00004D26  2F68 0008 0004           move.l     [A7 + 0x4], [A0 + 0x8]
  7648. 00004D2C  206A 0320                movea.l    A0, [A2 + 0x320]
  7649. 00004D30  2097                     move.l     [A0], [A7]
  7650. 00004D32  216F 0004 0004           move.l     [A0 + 0x4], [A7 + 0x4]
  7651. 00004D38  700C                     moveq.l    D0, 0x0C
  7652. 00004D3A  D1AA 032C                add.l      [A2 + 0x32C], D0
  7653. 00004D3E  52AA 0330                addq.l     [A2 + 0x330], 1
  7654. 00004D42  52AA 02B6                addq.l     [A2 + 0x2B6], 1
  7655. 00004D46  600A                     bra        +0xC /* 00004D52 */
  7656. label00004D48:
  7657. 00004D48  700C                     moveq.l    D0, 0x0C
  7658. 00004D4A  D1AA 032C                add.l      [A2 + 0x32C], D0
  7659. 00004D4E  52AA 0330                addq.l     [A2 + 0x330], 1
  7660. label00004D52:
  7661. 00004D52  206A 0328                movea.l    A0, [A2 + 0x328]
  7662. 00004D56  202A 0330                move.l     D0, [A2 + 0x330]
  7663. 00004D5A  B0A8 0018                cmp.l      D0, [A0 + 0x18]
  7664. 00004D5E  6C22                     bge        +0x24 /* 00004D82 */
  7665. 00004D60  206A 032C                movea.l    A0, [A2 + 0x32C]
  7666. 00004D64  4A90                     tst.l      [A0]
  7667. 00004D66  6C1A                     bge        +0x1C /* 00004D82 */
  7668. 00004D68  206A 032C                movea.l    A0, [A2 + 0x32C]
  7669. 00004D6C  2028 0004                move.l     D0, [A0 + 0x4]
  7670. 00004D70  B097                     cmp.l      D0, [A7]
  7671. 00004D72  660E                     bne        +0x10 /* 00004D82 */
  7672. 00004D74  206A 032C                movea.l    A0, [A2 + 0x32C]
  7673. 00004D78  2028 0008                move.l     D0, [A0 + 0x8]
  7674. 00004D7C  B0AF 0004                cmp.l      D0, [A7 + 0x4]
  7675. 00004D80  67C6                     beq        -0x38 /* 00004D48 */
  7676. label00004D82:
  7677. 00004D82  50AA 0320                addq.l     [A2 + 0x320], 8
  7678. label00004D86:
  7679. 00004D86  206A 032C                movea.l    A0, [A2 + 0x32C]
  7680. 00004D8A  4A90                     tst.l      [A0]
  7681. 00004D8C  6C10                     bge        +0x12 /* 00004D9E */
  7682. 00004D8E  206A 0328                movea.l    A0, [A2 + 0x328]
  7683. 00004D92  202A 0330                move.l     D0, [A2 + 0x330]
  7684. 00004D96  B0A8 0018                cmp.l      D0, [A0 + 0x18]
  7685. 00004D9A  6D00 FF7E                blt        -0x80 /* 00004D1A */
  7686. label00004D9E:
  7687. 00004D9E  7000                     moveq.l    D0, 0x00
  7688. 00004DA0  504F                     addq.w     A7, 8
  7689. 00004DA2  245F                     movea.l    A2, [A7]+
  7690. 00004DA4  4E75                     rts
  7691. fn00004DA6:
  7692. 00004DA6  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  7693. 00004DAA  4FEF FE92                lea.l      A7, [A7 - 0x16E]
  7694. 00004DAE  246F 0182                movea.l    A2, [A7 + 0x182]
  7695. 00004DB2  206A 0328                movea.l    A0, [A2 + 0x328]
  7696. 00004DB6  202A 0330                move.l     D0, [A2 + 0x330]
  7697. 00004DBA  B0A8 0018                cmp.l      D0, [A0 + 0x18]
  7698. 00004DBE  6D0C                     blt        +0xE /* 00004DCC */
  7699. 00004DC0  7000                     moveq.l    D0, 0x00
  7700. 00004DC2  4FEF 016E                lea.l      A7, [A7 + 0x16E]
  7701. 00004DC6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  7702. 00004DCA  4E75                     rts
  7703. label00004DCC:
  7704. 00004DCC  4AAA 02E0                tst.l      [A2 + 0x2E0]
  7705. 00004DD0  6600 00EA                bne        +0xEC /* 00004EBC */
  7706. 00004DD4  42AF 016A                clr.l      [A7 + 0x16A]
  7707. 00004DD8  97CB                     sub.l      A3, A3
  7708. 00004DDA  42AF 0166                clr.l      [A7 + 0x166]
  7709. 00004DDE  41ED A534                lea.l      A0, [A5 - 0x5ACC]
  7710. 00004DE2  43D7                     lea.l      A1, [A7]
  7711. 00004DE4  7057                     moveq.l    D0, 0x57
  7712. label00004DE6:
  7713. 00004DE6  22D8                     move.l     [A1]+, [A0]+
  7714. 00004DE8  51C8 FFFC                dbf        D0, -0x6 /* 00004DE6 */
  7715. 00004DEC  42AF 0162                clr.l      [A7 + 0x162]
  7716. 00004DF0  99CC                     sub.l      A4, A4
  7717. 00004DF2  426F 0160                clr.w      [A7 + 0x160]
  7718. 00004DF6  4AAA 02FC                tst.l      [A2 + 0x2FC]
  7719. 00004DFA  6734                     beq        +0x36 /* 00004E30 */
  7720. 00004DFC  486F 0166                pea.l      [A7 + 0x166]
  7721. 00004E00  486F 016E                pea.l      [A7 + 0x16E]
  7722. 00004E04  2F2A 02A2                move.l     -[A7], [A2 + 0x2A2]
  7723. 00004E08  2F2A 030C                move.l     -[A7], [A2 + 0x30C]
  7724. 00004E0C  206A 02FC                movea.l    A0, [A2 + 0x2FC]
  7725. 00004E10  4E90                     jsr        [A0]
  7726. 00004E12  3600                     move.w     D3, D0
  7727. 00004E14  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7728. 00004E18  670C                     beq        +0xE /* 00004E26 */
  7729. 00004E1A  3003                     move.w     D0, D3
  7730. 00004E1C  4FEF 016E                lea.l      A7, [A7 + 0x16E]
  7731. 00004E20  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  7732. 00004E24  4E75                     rts
  7733. label00004E26:
  7734. 00004E26  4AAF 0166                tst.l      [A7 + 0x166]
  7735. 00004E2A  6604                     bne        +0x6 /* 00004E30 */
  7736. 00004E2C  42AF 016A                clr.l      [A7 + 0x16A]
  7737. label00004E30:
  7738. 00004E30  486F 0160                pea.l      [A7 + 0x160]
  7739. 00004E34  486F 0166                pea.l      [A7 + 0x166]
  7740. 00004E38  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  7741. 00004E3C  4EBA B5FA                jsr        [PC - 0x4A06 /* 00000438 */]
  7742. 00004E40  4AAF 0176                tst.l      [A7 + 0x176]
  7743. 00004E44  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7744. 00004E48  670C                     beq        +0xE /* 00004E56 */
  7745. 00004E4A  2F2F 016A                move.l     -[A7], [A7 + 0x16A]
  7746. 00004E4E  4EBA 0D0E                jsr        [PC + 0xD0E /* 00005B5E */]
  7747. 00004E52  2648                     movea.l    A3, A0
  7748. 00004E54  584F                     addq.w     A7, 4
  7749. label00004E56:
  7750. 00004E56  2F2F 0162                move.l     -[A7], [A7 + 0x162]
  7751. 00004E5A  4EBA 0D02                jsr        [PC + 0xD02 /* 00005B5E */]
  7752. 00004E5E  2848                     movea.l    A4, A0
  7753. 00004E60  42A7                     clr.l      -[A7]
  7754. 00004E62  2F0A                     move.l     -[A7], A2
  7755. 00004E64  4EBA 0AEA                jsr        [PC + 0xAEA /* 00005950 */]
  7756. 00004E68  3F2F 016C                move.w     -[A7], [A7 + 0x16C]
  7757. 00004E6C  2F0C                     move.l     -[A7], A4
  7758. 00004E6E  2F2F 0178                move.l     -[A7], [A7 + 0x178]
  7759. 00004E72  2F0B                     move.l     -[A7], A3
  7760. 00004E74  486F 001A                pea.l      [A7 + 0x1A]
  7761. 00004E78  486D EDE0                pea.l      [A5 - 0x1220]
  7762. 00004E7C  2F2A 02D8                move.l     -[A7], [A2 + 0x2D8]
  7763. 00004E80  2F2A 02D4                move.l     -[A7], [A2 + 0x2D4]
  7764. 00004E84  2F0A                     move.l     -[A7], A2
  7765. 00004E86  4EBA 04B4                jsr        [PC + 0x4B4 /* 0000533C */]
  7766. 00004E8A  3600                     move.w     D3, D0
  7767. 00004E8C  2F2F 0190                move.l     -[A7], [A7 + 0x190]
  7768. 00004E90  4EBA 0CF2                jsr        [PC + 0xCF2 /* 00005B84 */]
  7769. 00004E94  200B                     move.l     D0, A3
  7770. 00004E96  4FEF 0032                lea.l      A7, [A7 + 0x32]
  7771. 00004E9A  673C                     beq        +0x3E /* 00004ED8 */
  7772. 00004E9C  2F2F 016A                move.l     -[A7], [A7 + 0x16A]
  7773. 00004EA0  4EBA 0CE2                jsr        [PC + 0xCE2 /* 00005B84 */]
  7774. 00004EA4  2F2F 016E                move.l     -[A7], [A7 + 0x16E]
  7775. 00004EA8  2F2A 02A2                move.l     -[A7], [A2 + 0x2A2]
  7776. 00004EAC  2F2A 030C                move.l     -[A7], [A2 + 0x30C]
  7777. 00004EB0  206A 0300                movea.l    A0, [A2 + 0x300]
  7778. 00004EB4  4E90                     jsr        [A0]
  7779. 00004EB6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7780. 00004EBA  601C                     bra        +0x1E /* 00004ED8 */
  7781. label00004EBC:
  7782. 00004EBC  3F3C 0001                move.w     -[A7], 0x1
  7783. 00004EC0  2F0A                     move.l     -[A7], A2
  7784. 00004EC2  4EBA FC64                jsr        [PC - 0x39C /* 00004B28 */]
  7785. 00004EC6  2F0A                     move.l     -[A7], A2
  7786. 00004EC8  4EBA 0BA0                jsr        [PC + 0xBA0 /* 00005A6A */]
  7787. 00004ECC  4267                     clr.w      -[A7]
  7788. 00004ECE  2F0A                     move.l     -[A7], A2
  7789. 00004ED0  4EBA FC56                jsr        [PC - 0x3AA /* 00004B28 */]
  7790. 00004ED4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7791. label00004ED8:
  7792. 00004ED8  7000                     moveq.l    D0, 0x00
  7793. 00004EDA  4FEF 016E                lea.l      A7, [A7 + 0x16E]
  7794. 00004EDE  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  7795. 00004EE2  4E75                     rts
  7796. 00004EE4  2F0A                     move.l     -[A7], A2
  7797. 00004EE6  246F 0008                movea.l    A2, [A7 + 0x8]
  7798. 00004EEA  4AAA 0304                tst.l      [A2 + 0x304]
  7799. 00004EEE  6716                     beq        +0x18 /* 00004F06 */
  7800. 00004EF0  3F3C 0001                move.w     -[A7], 0x1
  7801. 00004EF4  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  7802. 00004EF8  2F2A 030C                move.l     -[A7], [A2 + 0x30C]
  7803. 00004EFC  206A 0304                movea.l    A0, [A2 + 0x304]
  7804. 00004F00  4E90                     jsr        [A0]
  7805. 00004F02  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7806. label00004F06:
  7807. 00004F06  245F                     movea.l    A2, [A7]+
  7808. 00004F08  4E75                     rts
  7809. fn00004F0A:
  7810. 00004F0A  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7811. 00004F0E  4EBA 0C4E                jsr        [PC + 0xC4E /* 00005B5E */]
  7812. 00004F12  584F                     addq.w     A7, 4
  7813. 00004F14  4E75                     rts
  7814. fn00004F16:
  7815. 00004F16  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7816. 00004F1A  4EBA 0C68                jsr        [PC + 0xC68 /* 00005B84 */]
  7817. 00004F1E  584F                     addq.w     A7, 4
  7818. 00004F20  4E75                     rts
  7819. fn00004F22:
  7820. 00004F22  2F0A                     move.l     -[A7], A2
  7821. 00004F24  246F 0008                movea.l    A2, [A7 + 0x8]
  7822. 00004F28  4AAA 02AE                tst.l      [A2 + 0x2AE]
  7823. 00004F2C  670E                     beq        +0x10 /* 00004F3C */
  7824. 00004F2E  2F2A 02AE                move.l     -[A7], [A2 + 0x2AE]
  7825. 00004F32  4EBA 0C0E                jsr        [PC + 0xC0E /* 00005B42 */]
  7826. 00004F36  42AA 02AE                clr.l      [A2 + 0x2AE]
  7827. 00004F3A  584F                     addq.w     A7, 4
  7828. label00004F3C:
  7829. 00004F3C  4878 0010                push.l     0x10
  7830. 00004F40  42A7                     clr.l      -[A7]
  7831. 00004F42  486A 02AA                pea.l      [A2 + 0x2AA]
  7832. 00004F46  4EAD D94C                jsr        [A5 - 0x26B4]
  7833. 00004F4A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7834. 00004F4E  245F                     movea.l    A2, [A7]+
  7835. 00004F50  4E75                     rts
  7836. 00004F52  2F0A                     move.l     -[A7], A2
  7837. 00004F54  246F 0008                movea.l    A2, [A7 + 0x8]
  7838. 00004F58  4AAA 02E0                tst.l      [A2 + 0x2E0]
  7839. 00004F5C  670A                     beq        +0xC /* 00004F68 */
  7840. 00004F5E  2F2A 02E0                move.l     -[A7], [A2 + 0x2E0]
  7841. 00004F62  4EBA 0BDE                jsr        [PC + 0xBDE /* 00005B42 */]
  7842. 00004F66  584F                     addq.w     A7, 4
  7843. label00004F68:
  7844. 00004F68  4878 0010                push.l     0x10
  7845. 00004F6C  42A7                     clr.l      -[A7]
  7846. 00004F6E  486A 02DC                pea.l      [A2 + 0x2DC]
  7847. 00004F72  4EAD D94C                jsr        [A5 - 0x26B4]
  7848. 00004F76  4A6A 020E                tst.w      [A2 + 0x20E]
  7849. 00004F7A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7850. 00004F7E  670A                     beq        +0xC /* 00004F8A */
  7851. 00004F80  486A 0008                pea.l      [A2 + 0x8]
  7852. 00004F84  4EAD EC38                jsr        [A5 - 0x13C8]
  7853. 00004F88  584F                     addq.w     A7, 4
  7854. label00004F8A:
  7855. 00004F8A  4AAA 029A                tst.l      [A2 + 0x29A]
  7856. 00004F8E  670E                     beq        +0x10 /* 00004F9E */
  7857. 00004F90  2F2A 029A                move.l     -[A7], [A2 + 0x29A]
  7858. 00004F94  4EBA 0C8A                jsr        [PC + 0xC8A /* 00005C20 */]
  7859. 00004F98  42AA 029A                clr.l      [A2 + 0x29A]
  7860. 00004F9C  584F                     addq.w     A7, 4
  7861. label00004F9E:
  7862. 00004F9E  4AAA 029E                tst.l      [A2 + 0x29E]
  7863. 00004FA2  670E                     beq        +0x10 /* 00004FB2 */
  7864. 00004FA4  2F2A 029E                move.l     -[A7], [A2 + 0x29E]
  7865. 00004FA8  4EBA 0C76                jsr        [PC + 0xC76 /* 00005C20 */]
  7866. 00004FAC  42AA 029E                clr.l      [A2 + 0x29E]
  7867. 00004FB0  584F                     addq.w     A7, 4
  7868. label00004FB2:
  7869. 00004FB2  2F0A                     move.l     -[A7], A2
  7870. 00004FB4  4EBA FF6C                jsr        [PC - 0x94 /* 00004F22 */]
  7871. 00004FB8  357C 0001 02CA           move.w     [A2 + 0x2CA], 0x1
  7872. 00004FBE  42AA 0296                clr.l      [A2 + 0x296]
  7873. 00004FC2  70FF                     moveq.l    D0, 0xFFFFFFFF
  7874. 00004FC4  2540 02A2                move.l     [A2 + 0x2A2], D0
  7875. 00004FC8  70FF                     moveq.l    D0, 0xFFFFFFFF
  7876. 00004FCA  2540 02A6                move.l     [A2 + 0x2A6], D0
  7877. 00004FCE  7000                     moveq.l    D0, 0x00
  7878. 00004FD0  584F                     addq.w     A7, 4
  7879. 00004FD2  245F                     movea.l    A2, [A7]+
  7880. 00004FD4  4E75                     rts
  7881. 00004FD6  48E7 1020                movem.l    -[A7], D3,A2
  7882. 00004FDA  7600                     moveq.l    D3, 0x00
  7883. 00004FDC  95CA                     sub.l      A2, A2
  7884. 00004FDE  4878 0334                push.l     0x334
  7885. 00004FE2  4EBA 0B26                jsr        [PC + 0xB26 /* 00005B0A */]
  7886. 00004FE6  2448                     movea.l    A2, A0
  7887. 00004FE8  200A                     move.l     D0, A2
  7888. 00004FEA  584F                     addq.w     A7, 4
  7889. 00004FEC  6602                     bne        +0x4 /* 00004FF0 */
  7890. 00004FEE  7601                     moveq.l    D3, 0x01
  7891. label00004FF0:
  7892. 00004FF0  4A43                     tst.w      D3
  7893. 00004FF2  6708                     beq        +0xA /* 00004FFC */
  7894. 00004FF4  2F0A                     move.l     -[A7], A2
  7895. 00004FF6  4EBA 000C                jsr        [PC + 0xC /* 00005004 */]
  7896. 00004FFA  584F                     addq.w     A7, 4
  7897. label00004FFC:
  7898. 00004FFC  204A                     movea.l    A0, A2
  7899. 00004FFE  4CDF 0408                movem.l    D3,A2, [A7]+
  7900. 00005002  4E75                     rts
  7901. fn00005004:
  7902. 00005004  48E7 0030                movem.l    -[A7], A2,A3
  7903. 00005008  266F 000C                movea.l    A3, [A7 + 0xC]
  7904. 0000500C  95CA                     sub.l      A2, A2
  7905. 0000500E  200B                     move.l     D0, A3
  7906. 00005010  6778                     beq        +0x7A /* 0000508A */
  7907. 00005012  2F0B                     move.l     -[A7], A3
  7908. 00005014  4EBA FEF4                jsr        [PC - 0x10C /* 00004F0A */]
  7909. 00005018  2448                     movea.l    A2, A0
  7910. 0000501A  486A 0008                pea.l      [A2 + 0x8]
  7911. 0000501E  4EAD EC38                jsr        [A5 - 0x13C8]
  7912. 00005022  4AAA 029A                tst.l      [A2 + 0x29A]
  7913. 00005026  504F                     addq.w     A7, 8
  7914. 00005028  670E                     beq        +0x10 /* 00005038 */
  7915. 0000502A  2F2A 029A                move.l     -[A7], [A2 + 0x29A]
  7916. 0000502E  4EBA 0BF0                jsr        [PC + 0xBF0 /* 00005C20 */]
  7917. 00005032  42AA 029A                clr.l      [A2 + 0x29A]
  7918. 00005036  584F                     addq.w     A7, 4
  7919. label00005038:
  7920. 00005038  4AAA 029E                tst.l      [A2 + 0x29E]
  7921. 0000503C  670E                     beq        +0x10 /* 0000504C */
  7922. 0000503E  2F2A 029E                move.l     -[A7], [A2 + 0x29E]
  7923. 00005042  4EBA 0BDC                jsr        [PC + 0xBDC /* 00005C20 */]
  7924. 00005046  42AA 029E                clr.l      [A2 + 0x29E]
  7925. 0000504A  584F                     addq.w     A7, 4
  7926. label0000504C:
  7927. 0000504C  2F0A                     move.l     -[A7], A2
  7928. 0000504E  4EBA FED2                jsr        [PC - 0x12E /* 00004F22 */]
  7929. 00005052  4AAA 02E0                tst.l      [A2 + 0x2E0]
  7930. 00005056  584F                     addq.w     A7, 4
  7931. 00005058  670A                     beq        +0xC /* 00005064 */
  7932. 0000505A  2F2A 02E0                move.l     -[A7], [A2 + 0x2E0]
  7933. 0000505E  4EBA 0AE2                jsr        [PC + 0xAE2 /* 00005B42 */]
  7934. 00005062  584F                     addq.w     A7, 4
  7935. label00005064:
  7936. 00005064  4878 0010                push.l     0x10
  7937. 00005068  42A7                     clr.l      -[A7]
  7938. 0000506A  486A 02DC                pea.l      [A2 + 0x2DC]
  7939. 0000506E  4EAD D94C                jsr        [A5 - 0x26B4]
  7940. 00005072  2F0B                     move.l     -[A7], A3
  7941. 00005074  4EBA FEA0                jsr        [PC - 0x160 /* 00004F16 */]
  7942. 00005078  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  7943. 0000507C  4EBA B042                jsr        [PC - 0x4FBE /* 000000C0 */]
  7944. 00005080  2F0B                     move.l     -[A7], A3
  7945. 00005082  4EBA 0ABE                jsr        [PC + 0xABE /* 00005B42 */]
  7946. 00005086  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7947. label0000508A:
  7948. 0000508A  7000                     moveq.l    D0, 0x00
  7949. 0000508C  4CDF 0C00                movem.l    A2,A3, [A7]+
  7950. 00005090  4E75                     rts
  7951. 00005092  2F03                     move.l     -[A7], D3
  7952. 00005094  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  7953. 00005098  41ED A51C                lea.l      A0, [A5 - 0x5AE4]
  7954. 0000509C  43D7                     lea.l      A1, [A7]
  7955. 0000509E  7005                     moveq.l    D0, 0x05
  7956. label000050A0:
  7957. 000050A0  22D8                     move.l     [A1]+, [A0]+
  7958. 000050A2  51C8 FFFC                dbf        D0, -0x6 /* 000050A0 */
  7959. 000050A6  7600                     moveq.l    D3, 0x00
  7960. 000050A8  206F 002C                movea.l    A0, [A7 + 0x2C]
  7961. 000050AC  4290                     clr.l      [A0]
  7962. 000050AE  2EAF 0024                move.l     [A7], [A7 + 0x24]
  7963. 000050B2  2F6F 0028 0004           move.l     [A7 + 0x4], [A7 + 0x28]
  7964. 000050B8  2F6F 0020 0008           move.l     [A7 + 0x8], [A7 + 0x20]
  7965. 000050BE  41ED EC20                lea.l      A0, [A5 - 0x13E0]
  7966. 000050C2  2F48 000C                move.l     [A7 + 0xC], A0
  7967. 000050C6  41ED EC28                lea.l      A0, [A5 - 0x13D8]
  7968. 000050CA  2F48 0010                move.l     [A7 + 0x10], A0
  7969. 000050CE  4857                     pea.l      [A7]
  7970. 000050D0  4EBA AF36                jsr        [PC - 0x50CA /* 00000008 */]
  7971. 000050D4  3600                     move.w     D3, D0
  7972. 000050D6  584F                     addq.w     A7, 4
  7973. 000050D8  670A                     beq        +0xC /* 000050E4 */
  7974. 000050DA  3003                     move.w     D0, D3
  7975. 000050DC  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7976. 000050E0  261F                     move.l     D3, [A7]+
  7977. 000050E2  4E75                     rts
  7978. label000050E4:
  7979. 000050E4  206F 002C                movea.l    A0, [A7 + 0x2C]
  7980. 000050E8  20AF 0014                move.l     [A0], [A7 + 0x14]
  7981. 000050EC  7000                     moveq.l    D0, 0x00
  7982. 000050EE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7983. 000050F2  261F                     move.l     D3, [A7]+
  7984. 000050F4  4E75                     rts
  7985. fn000050F6:
  7986. 000050F6  48E7 1020                movem.l    -[A7], D3,A2
  7987. 000050FA  246F 000C                movea.l    A2, [A7 + 0xC]
  7988. 000050FE  7600                     moveq.l    D3, 0x00
  7989. 00005100  486A 02D8                pea.l      [A2 + 0x2D8]
  7990. 00005104  486A 02D0                pea.l      [A2 + 0x2D0]
  7991. 00005108  2F2A 02A2                move.l     -[A7], [A2 + 0x2A2]
  7992. 0000510C  2F2A 030C                move.l     -[A7], [A2 + 0x30C]
  7993. 00005110  206A 02F4                movea.l    A0, [A2 + 0x2F4]
  7994. 00005114  4E90                     jsr        [A0]
  7995. 00005116  3600                     move.w     D3, D0
  7996. 00005118  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7997. 0000511C  6708                     beq        +0xA /* 00005126 */
  7998. 0000511E  3003                     move.w     D0, D3
  7999. 00005120  4CDF 0408                movem.l    D3,A2, [A7]+
  8000. 00005124  4E75                     rts
  8001. label00005126:
  8002. 00005126  4AAA 02D8                tst.l      [A2 + 0x2D8]
  8003. 0000512A  6604                     bne        +0x6 /* 00005130 */
  8004. 0000512C  42AA 02D0                clr.l      [A2 + 0x2D0]
  8005. label00005130:
  8006. 00005130  4AAA 02D0                tst.l      [A2 + 0x2D0]
  8007. 00005134  6608                     bne        +0xA /* 0000513E */
  8008. 00005136  7015                     moveq.l    D0, 0x15
  8009. 00005138  4CDF 0408                movem.l    D3,A2, [A7]+
  8010. 0000513C  4E75                     rts
  8011. label0000513E:
  8012. 0000513E  2F2A 02D0                move.l     -[A7], [A2 + 0x2D0]
  8013. 00005142  4EBA 0A1A                jsr        [PC + 0xA1A /* 00005B5E */]
  8014. 00005146  2548 02D4                move.l     [A2 + 0x2D4], A0
  8015. 0000514A  7000                     moveq.l    D0, 0x00
  8016. 0000514C  584F                     addq.w     A7, 4
  8017. 0000514E  4CDF 0408                movem.l    D3,A2, [A7]+
  8018. 00005152  4E75                     rts
  8019. 00005154  2F0A                     move.l     -[A7], A2
  8020. 00005156  554F                     subq.w     A7, 2
  8021. 00005158  246F 000A                movea.l    A2, [A7 + 0xA]
  8022. 0000515C  4257                     clr.w      [A7]
  8023. 0000515E  4AAA 02D0                tst.l      [A2 + 0x2D0]
  8024. 00005162  6730                     beq        +0x32 /* 00005194 */
  8025. 00005164  4AAA 02D4                tst.l      [A2 + 0x2D4]
  8026. 00005168  670A                     beq        +0xC /* 00005174 */
  8027. 0000516A  2F2A 02D0                move.l     -[A7], [A2 + 0x2D0]
  8028. 0000516E  4EBA 0A14                jsr        [PC + 0xA14 /* 00005B84 */]
  8029. 00005172  584F                     addq.w     A7, 4
  8030. label00005174:
  8031. 00005174  4AAA 02F8                tst.l      [A2 + 0x2F8]
  8032. 00005178  671A                     beq        +0x1C /* 00005194 */
  8033. 0000517A  2F2A 02D8                move.l     -[A7], [A2 + 0x2D8]
  8034. 0000517E  2F2A 02D0                move.l     -[A7], [A2 + 0x2D0]
  8035. 00005182  2F2A 02A2                move.l     -[A7], [A2 + 0x2A2]
  8036. 00005186  2F2A 030C                move.l     -[A7], [A2 + 0x30C]
  8037. 0000518A  206A 02F8                movea.l    A0, [A2 + 0x2F8]
  8038. 0000518E  4E90                     jsr        [A0]
  8039. 00005190  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8040. label00005194:
  8041. 00005194  42AA 02D4                clr.l      [A2 + 0x2D4]
  8042. 00005198  42AA 02D0                clr.l      [A2 + 0x2D0]
  8043. 0000519C  42AA 02D8                clr.l      [A2 + 0x2D8]
  8044. 000051A0  7000                     moveq.l    D0, 0x00
  8045. 000051A2  544F                     addq.w     A7, 2
  8046. 000051A4  245F                     movea.l    A2, [A7]+
  8047. 000051A6  4E75                     rts
  8048. 000051A8  48E7 0F1A                movem.l    -[A7], D4,D5,D6,D7,A3,A4,A6
  8049. 000051AC  286F 0020                movea.l    A4, [A7 + 0x20]
  8050. 000051B0  282F 0024                move.l     D4, [A7 + 0x24]
  8051. 000051B4  266F 0028                movea.l    A3, [A7 + 0x28]
  8052. 000051B8  2E2F 0030                move.l     D7, [A7 + 0x30]
  8053. 000051BC  224B                     movea.l    A1, A3
  8054. 000051BE  200B                     move.l     D0, A3
  8055. 000051C0  6610                     bne        +0x12 /* 000051D2 */
  8056. 000051C2  42AC 0318                clr.l      [A4 + 0x318]
  8057. 000051C6  42AC 031C                clr.l      [A4 + 0x31C]
  8058. 000051CA  7000                     moveq.l    D0, 0x00
  8059. 000051CC  4CDF 58F0                movem.l    D4,D5,D6,D7,A3,A4,A6, [A7]+
  8060. 000051D0  4E75                     rts
  8061. label000051D2:
  8062. 000051D2  2047                     movea.l    A0, D7
  8063. 000051D4  4290                     clr.l      [A0]
  8064. 000051D6  D3EC 0318                add.l      A1, [A4 + 0x318]
  8065. 000051DA  242C 031C                move.l     D2, [A4 + 0x31C]
  8066. 000051DE  1011                     move.b     D0, [A1]
  8067. 000051E0  720F                     moveq.l    D1, 0x0F
  8068. 000051E2  C081                     and.l      D0, D1
  8069. 000051E4  41ED B6D6                lea.l      A0, [A5 - 0x492A]
  8070. 000051E8  1030 0800                move.b     D0, [A0 + D0]
  8071. 000051EC  4880                     ext.w      D0
  8072. 000051EE  48C0                     ext.l      D0
  8073. 000051F0  1211                     move.b     D1, [A1]
  8074. 000051F2  0281 0000 00F0           andi.l     D1, 0xF0
  8075. 000051F8  E881                     asr        D1, 4
  8076. 000051FA  1230 1800                move.b     D1, [A0 + D1]
  8077. 000051FE  4881                     ext.w      D1
  8078. 00005200  48C1                     ext.l      D1
  8079. 00005202  D280                     add.l      D1, D0
  8080. 00005204  D282                     add.l      D1, D2
  8081. 00005206  5381                     subq.l     D1, 1
  8082. 00005208  B881                     cmp.l      D4, D1
  8083. 0000520A  6F4A                     ble        +0x4C /* 00005256 */
  8084. 0000520C  2C4B                     movea.l    A6, A3
  8085. 0000520E  DDEF 002C                add.l      A6, [A7 + 0x2C]
  8086. 00005212  6036                     bra        +0x38 /* 0000524A */
  8087. label00005214:
  8088. 00005214  1011                     move.b     D0, [A1]
  8089. 00005216  7A0F                     moveq.l    D5, 0x0F
  8090. 00005218  C085                     and.l      D0, D5
  8091. 0000521A  41ED B6D6                lea.l      A0, [A5 - 0x492A]
  8092. 0000521E  1030 0800                move.b     D0, [A0 + D0]
  8093. 00005222  4880                     ext.w      D0
  8094. 00005224  48C0                     ext.l      D0
  8095. 00005226  1A11                     move.b     D5, [A1]
  8096. 00005228  0285 0000 00F0           andi.l     D5, 0xF0
  8097. 0000522E  E885                     asr        D5, 4
  8098. 00005230  1A30 5800                move.b     D5, [A0 + D5]
  8099. 00005234  4885                     ext.w      D5
  8100. 00005236  48C5                     ext.l      D5
  8101. 00005238  DA80                     add.l      D5, D0
  8102. 0000523A  2002                     move.l     D0, D2
  8103. 0000523C  D085                     add.l      D0, D5
  8104. 0000523E  5380                     subq.l     D0, 1
  8105. 00005240  B084                     cmp.l      D0, D4
  8106. 00005242  6C00 00AE                bge        +0xB0 /* 000052F2 */
  8107. 00005246  D485                     add.l      D2, D5
  8108. 00005248  5289                     addq.l     A1, 1
  8109. label0000524A:
  8110. 0000524A  B3CE                     cmpa.l     A1, A6
  8111. 0000524C  65C6                     bcs        -0x38 /* 00005214 */
  8112. 0000524E  7001                     moveq.l    D0, 0x01
  8113. 00005250  4CDF 58F0                movem.l    D4,D5,D6,D7,A3,A4,A6, [A7]+
  8114. 00005254  4E75                     rts
  8115. label00005256:
  8116. 00005256  B882                     cmp.l      D4, D2
  8117. 00005258  6C00 0098                bge        +0x9A /* 000052F2 */
  8118. 0000525C  6000 0086                bra        +0x88 /* 000052E4 */
  8119. label00005260:
  8120. 00005260  1029 FFFF                move.b     D0, [A1 - 0x1]
  8121. 00005264  720F                     moveq.l    D1, 0x0F
  8122. 00005266  C081                     and.l      D0, D1
  8123. 00005268  41ED B6D6                lea.l      A0, [A5 - 0x492A]
  8124. 0000526C  1030 0800                move.b     D0, [A0 + D0]
  8125. 00005270  4880                     ext.w      D0
  8126. 00005272  48C0                     ext.l      D0
  8127. 00005274  1229 FFFF                move.b     D1, [A1 - 0x1]
  8128. 00005278  0281 0000 00F0           andi.l     D1, 0xF0
  8129. 0000527E  E881                     asr        D1, 4
  8130. 00005280  1230 1800                move.b     D1, [A0 + D1]
  8131. 00005284  4881                     ext.w      D1
  8132. 00005286  48C1                     ext.l      D1
  8133. 00005288  D280                     add.l      D1, D0
  8134. 0000528A  2002                     move.l     D0, D2
  8135. 0000528C  9081                     sub.l      D0, D1
  8136. 0000528E  B084                     cmp.l      D0, D4
  8137. 00005290  6E28                     bgt        +0x2A /* 000052BA */
  8138. 00005292  5389                     subq.l     A1, 1
  8139. 00005294  1011                     move.b     D0, [A1]
  8140. 00005296  720F                     moveq.l    D1, 0x0F
  8141. 00005298  C081                     and.l      D0, D1
  8142. 0000529A  1030 0800                move.b     D0, [A0 + D0]
  8143. 0000529E  4880                     ext.w      D0
  8144. 000052A0  48C0                     ext.l      D0
  8145. 000052A2  1211                     move.b     D1, [A1]
  8146. 000052A4  0281 0000 00F0           andi.l     D1, 0xF0
  8147. 000052AA  E881                     asr        D1, 4
  8148. 000052AC  1230 1800                move.b     D1, [A0 + D1]
  8149. 000052B0  4881                     ext.w      D1
  8150. 000052B2  48C1                     ext.l      D1
  8151. 000052B4  D280                     add.l      D1, D0
  8152. 000052B6  9481                     sub.l      D2, D1
  8153. 000052B8  6038                     bra        +0x3A /* 000052F2 */
  8154. label000052BA:
  8155. 000052BA  1029 FFFF                move.b     D0, [A1 - 0x1]
  8156. 000052BE  720F                     moveq.l    D1, 0x0F
  8157. 000052C0  C081                     and.l      D0, D1
  8158. 000052C2  1030 0800                move.b     D0, [A0 + D0]
  8159. 000052C6  4880                     ext.w      D0
  8160. 000052C8  48C0                     ext.l      D0
  8161. 000052CA  1229 FFFF                move.b     D1, [A1 - 0x1]
  8162. 000052CE  0281 0000 00F0           andi.l     D1, 0xF0
  8163. 000052D4  E881                     asr        D1, 4
  8164. 000052D6  1230 1800                move.b     D1, [A0 + D1]
  8165. 000052DA  4881                     ext.w      D1
  8166. 000052DC  48C1                     ext.l      D1
  8167. 000052DE  D280                     add.l      D1, D0
  8168. 000052E0  9481                     sub.l      D2, D1
  8169. 000052E2  5389                     subq.l     A1, 1
  8170. label000052E4:
  8171. 000052E4  B3CB                     cmpa.l     A1, A3
  8172. 000052E6  6200 FF78                bhi        -0x86 /* 00005260 */
  8173. 000052EA  7001                     moveq.l    D0, 0x01
  8174. 000052EC  4CDF 58F0                movem.l    D4,D5,D6,D7,A3,A4,A6, [A7]+
  8175. 000052F0  4E75                     rts
  8176. label000052F2:
  8177. 000052F2  1A3C 0080                move.b     D5, 0x80
  8178. 000052F6  2C02                     move.l     D6, D2
  8179. 000052F8  2049                     movea.l    A0, A1
  8180. 000052FA  91CB                     sub.l      A0, A3
  8181. 000052FC  2408                     move.l     D2, A0
  8182. 000052FE  E78A                     lsl        D2, 3
  8183. 00005300  2946 031C                move.l     [A4 + 0x31C], D6
  8184. 00005304  602A                     bra        +0x2C /* 00005330 */
  8185. label00005306:
  8186. 00005306  7000                     moveq.l    D0, 0x00
  8187. 00005308  1011                     move.b     D0, [A1]
  8188. 0000530A  7200                     moveq.l    D1, 0x00
  8189. 0000530C  1205                     move.b     D1, D5
  8190. 0000530E  C280                     and.l      D1, D0
  8191. 00005310  671A                     beq        +0x1C /* 0000532C */
  8192. 00005312  BC84                     cmp.l      D6, D4
  8193. 00005314  6614                     bne        +0x16 /* 0000532A */
  8194. 00005316  2047                     movea.l    A0, D7
  8195. 00005318  2082                     move.l     [A0], D2
  8196. 0000531A  2049                     movea.l    A0, A1
  8197. 0000531C  91CB                     sub.l      A0, A3
  8198. 0000531E  2948 0318                move.l     [A4 + 0x318], A0
  8199. 00005322  7000                     moveq.l    D0, 0x00
  8200. 00005324  4CDF 58F0                movem.l    D4,D5,D6,D7,A3,A4,A6, [A7]+
  8201. 00005328  4E75                     rts
  8202. label0000532A:
  8203. 0000532A  5286                     addq.l     D6, 1
  8204. label0000532C:
  8205. 0000532C  E20D                     lsr        D5.b, 1
  8206. 0000532E  5282                     addq.l     D2, 1
  8207. label00005330:
  8208. 00005330  4A05                     tst.b      D5
  8209. 00005332  66D2                     bne        -0x2C /* 00005306 */
  8210. 00005334  7001                     moveq.l    D0, 0x01
  8211. 00005336  4CDF 58F0                movem.l    D4,D5,D6,D7,A3,A4,A6, [A7]+
  8212. 0000533A  4E75                     rts
  8213. fn0000533C:
  8214. 0000533C  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  8215. 00005340  4FEF FE5A                lea.l      A7, [A7 - 0x1A6]
  8216. 00005344  286F 01CE                movea.l    A4, [A7 + 0x1CE]
  8217. 00005348  2A2F 01D2                move.l     D5, [A7 + 0x1D2]
  8218. 0000534C  246F 01DE                movea.l    A2, [A7 + 0x1DE]
  8219. 00005350  2C45                     movea.l    A6, D5
  8220. 00005352  DDEF 01D6                add.l      A6, [A7 + 0x1D6]
  8221. 00005356  41ED A818                lea.l      A0, [A5 - 0x57E8]
  8222. 0000535A  43EF 016A                lea.l      A1, [A7 + 0x16A]
  8223. 0000535E  7006                     moveq.l    D0, 0x06
  8224. label00005360:
  8225. 00005360  22D8                     move.l     [A1]+, [A0]+
  8226. 00005362  51C8 FFFC                dbf        D0, -0x6 /* 00005360 */
  8227. 00005366  32D8                     move.w     [A1]+, [A0]+
  8228. 00005368  42AF 0006                clr.l      [A7 + 0x6]
  8229. 0000536C  97CB                     sub.l      A3, A3
  8230. 0000536E  7800                     moveq.l    D4, 0x00
  8231. 00005370  7600                     moveq.l    D3, 0x00
  8232. 00005372  7CFF                     moveq.l    D6, 0xFFFFFFFF
  8233. 00005374  7E00                     moveq.l    D7, 0x00
  8234. 00005376  4AAF 01DA                tst.l      [A7 + 0x1DA]
  8235. 0000537A  660C                     bne        +0xE /* 00005388 */
  8236. 0000537C  7011                     moveq.l    D0, 0x11
  8237. 0000537E  4FEF 01A6                lea.l      A7, [A7 + 0x1A6]
  8238. 00005382  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  8239. 00005386  4E75                     rts
  8240. label00005388:
  8241. 00005388  41EF 016A                lea.l      A0, [A7 + 0x16A]
  8242. 0000538C  2548 0156                move.l     [A2 + 0x156], A0
  8243. 00005390  2F4E 016E                move.l     [A7 + 0x16E], A6
  8244. 00005394  2F45 017E                move.l     [A7 + 0x17E], D5
  8245. 00005398  2F45 0172                move.l     [A7 + 0x172], D5
  8246. 0000539C  426F 017C                clr.w      [A7 + 0x17C]
  8247. 000053A0  204A                     movea.l    A0, A2
  8248. 000053A2  5488                     addq.l     A0, 2
  8249. 000053A4  2F48 0184                move.l     [A7 + 0x184], A0
  8250. 000053A8  256F 01EA 014E           move.l     [A2 + 0x14E], [A7 + 0x1EA]
  8251. 000053AE  4AAF 01E2                tst.l      [A7 + 0x1E2]
  8252. 000053B2  6742                     beq        +0x44 /* 000053F6 */
  8253. 000053B4  206F 01E2                movea.l    A0, [A7 + 0x1E2]
  8254. 000053B8  2245                     movea.l    A1, D5
  8255. 000053BA  D3D0                     add.l      A1, [A0]
  8256. 000053BC  2F49 016E                move.l     [A7 + 0x16E], A1
  8257. 000053C0  2648                     movea.l    A3, A0
  8258. 000053C2  518B                     subq.l     A3, 8
  8259. 000053C4  206F 0172                movea.l    A0, [A7 + 0x172]
  8260. 000053C8  B1C9                     cmpa.l     A0, A1
  8261. 000053CA  662A                     bne        +0x2C /* 000053F6 */
  8262. 000053CC  508B                     addq.l     A3, 8
  8263. 000053CE  5284                     addq.l     D4, 1
  8264. 000053D0  7062                     moveq.l    D0, 0x62
  8265. 000053D2  C1EB 0006                muls.w     D0, [A3 + 0x6]
  8266. 000053D6  206F 01EA                movea.l    A0, [A7 + 0x1EA]
  8267. 000053DA  D1C0                     add.l      A0, D0
  8268. 000053DC  2548 014E                move.l     [A2 + 0x14E], A0
  8269. 000053E0  B8AF 01E6                cmp.l      D4, [A7 + 0x1E6]
  8270. 000053E4  6D06                     blt        +0x8 /* 000053EC */
  8271. 000053E6  2F4E 016E                move.l     [A7 + 0x16E], A6
  8272. 000053EA  600A                     bra        +0xC /* 000053F6 */
  8273. label000053EC:
  8274. 000053EC  2045                     movea.l    A0, D5
  8275. 000053EE  D1EB 0008                add.l      A0, [A3 + 0x8]
  8276. 000053F2  2F48 016E                move.l     [A7 + 0x16E], A0
  8277. label000053F6:
  8278. 000053F6  206A 014E                movea.l    A0, [A2 + 0x14E]
  8279. 000053FA  2F68 001E 0006           move.l     [A7 + 0x6], [A0 + 0x1E]
  8280. 00005400  486C 02C6                pea.l      [A4 + 0x2C6]
  8281. 00005404  486C 02C2                pea.l      [A4 + 0x2C2]
  8282. 00005408  486C 02BE                pea.l      [A4 + 0x2BE]
  8283. 0000540C  486C 02BA                pea.l      [A4 + 0x2BA]
  8284. 00005410  2F2A 014E                move.l     -[A7], [A2 + 0x14E]
  8285. 00005414  2F0C                     move.l     -[A7], A4
  8286. 00005416  4EBA F78C                jsr        [PC - 0x874 /* 00004BA4 */]
  8287. 0000541A  426A 012C                clr.w      [A2 + 0x12C]
  8288. 0000541E  4A84                     tst.l      D4
  8289. 00005420  4FEF 0018                lea.l      A7, [A7 + 0x18]
  8290. 00005424  6708                     beq        +0xA /* 0000542E */
  8291. 00005426  356B 0004 012E           move.w     [A2 + 0x12E], [A3 + 0x4]
  8292. 0000542C  6004                     bra        +0x6 /* 00005432 */
  8293. label0000542E:
  8294. 0000542E  426A 012E                clr.w      [A2 + 0x12E]
  8295. label00005432:
  8296. 00005432  206A 014E                movea.l    A0, [A2 + 0x14E]
  8297. 00005436  3C10                     move.w     D6, [A0]
  8298. 00005438  3546 0130                move.w     [A2 + 0x130], D6
  8299. 0000543C  206F 0184                movea.l    A0, [A7 + 0x184]
  8300. 00005440  116A 012F FFFE           move.b     [A0 - 0x2], [A2 + 0x12F]
  8301. 00005446  206F 0184                movea.l    A0, [A7 + 0x184]
  8302. 0000544A  116A 0131 FFFF           move.b     [A0 - 0x1], [A2 + 0x131]
  8303. 00005450  4A6A 012E                tst.w      [A2 + 0x12E]
  8304. 00005454  6608                     bne        +0xA /* 0000545E */
  8305. 00005456  4A6A 0130                tst.w      [A2 + 0x130]
  8306. 0000545A  6700 01EE                beq        +0x1F0 /* 0000564A */
  8307. label0000545E:
  8308. 0000545E  7E01                     moveq.l    D7, 0x01
  8309. 00005460  6000 01E8                bra        +0x1EA /* 0000564A */
  8310. label00005464:
  8311. 00005464  4A47                     tst.w      D7
  8312. 00005466  6700 0100                beq        +0x102 /* 00005568 */
  8313. 0000546A  2F6F 01EA 0002           move.l     [A7 + 0x2], [A7 + 0x1EA]
  8314. 00005470  206A 014E                movea.l    A0, [A2 + 0x14E]
  8315. 00005474  3E90                     move.w     [A7], [A0]
  8316. 00005476  206F 0002                movea.l    A0, [A7 + 0x2]
  8317. 0000547A  2E28 001E                move.l     D7, [A0 + 0x1E]
  8318. 0000547E  41D2                     lea.l      A0, [A2]
  8319. 00005480  43EF 000A                lea.l      A1, [A7 + 0xA]
  8320. 00005484  7057                     moveq.l    D0, 0x57
  8321. label00005486:
  8322. 00005486  22D8                     move.l     [A1]+, [A0]+
  8323. 00005488  51C8 FFFC                dbf        D0, -0x6 /* 00005486 */
  8324. 0000548C  41EF 016A                lea.l      A0, [A7 + 0x16A]
  8325. 00005490  43EF 0188                lea.l      A1, [A7 + 0x188]
  8326. 00005494  7006                     moveq.l    D0, 0x06
  8327. label00005496:
  8328. 00005496  22D8                     move.l     [A1]+, [A0]+
  8329. 00005498  51C8 FFFC                dbf        D0, -0x6 /* 00005496 */
  8330. 0000549C  32D8                     move.w     [A1]+, [A0]+
  8331. 0000549E  2F6F 0002 0158           move.l     [A7 + 0x158], [A7 + 0x2]
  8332. 000054A4  41EF 0188                lea.l      A0, [A7 + 0x188]
  8333. 000054A8  2F48 0160                move.l     [A7 + 0x160], A0
  8334. 000054AC  41EF 000A                lea.l      A0, [A7 + 0xA]
  8335. 000054B0  5488                     addq.l     A0, 2
  8336. 000054B2  2F48 01A2                move.l     [A7 + 0x1A2], A0
  8337. 000054B6  4228 FFFE                clr.b      [A0 - 0x2]
  8338. 000054BA  426F 013A                clr.w      [A7 + 0x13A]
  8339. 000054BE  7000                     moveq.l    D0, 0x00
  8340. 000054C0  206F 01A2                movea.l    A0, [A7 + 0x1A2]
  8341. 000054C4  1140 FFFF                move.b     [A0 - 0x1], D0
  8342. 000054C8  4A57                     tst.w      [A7]
  8343. 000054CA  6756                     beq        +0x58 /* 00005522 */
  8344. 000054CC  486C 02C6                pea.l      [A4 + 0x2C6]
  8345. 000054D0  486C 02C2                pea.l      [A4 + 0x2C2]
  8346. 000054D4  486C 02BE                pea.l      [A4 + 0x2BE]
  8347. 000054D8  486C 02BA                pea.l      [A4 + 0x2BA]
  8348. 000054DC  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  8349. 000054E0  2F0C                     move.l     -[A7], A4
  8350. 000054E2  4EBA F6C0                jsr        [PC - 0x940 /* 00004BA4 */]
  8351. 000054E6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  8352. 000054EA  6036                     bra        +0x38 /* 00005522 */
  8353. label000054EC:
  8354. 000054EC  486F 0188                pea.l      [A7 + 0x188]
  8355. 000054F0  2047                     movea.l    A0, D7
  8356. 000054F2  4E90                     jsr        [A0]
  8357. 000054F4  3F6F 01A4 013A           move.w     [A7 + 0x13A], [A7 + 0x1A4]
  8358. 000054FA  584F                     addq.w     A7, 4
  8359. 000054FC  671E                     beq        +0x20 /* 0000551C */
  8360. 000054FE  546F 0136                addq.w     [A7 + 0x136], 2
  8361. 00005502  206F 0194                movea.l    A0, [A7 + 0x194]
  8362. 00005506  91C5                     sub.l      A0, D5
  8363. 00005508  2F48 0154                move.l     [A7 + 0x154], A0
  8364. 0000550C  486F 000A                pea.l      [A7 + 0xA]
  8365. 00005510  2F0C                     move.l     -[A7], A4
  8366. 00005512  206F 01E2                movea.l    A0, [A7 + 0x1E2]
  8367. 00005516  4E90                     jsr        [A0]
  8368. 00005518  3600                     move.w     D3, D0
  8369. 0000551A  504F                     addq.w     A7, 8
  8370. label0000551C:
  8371. 0000551C  2F6F 019C 0190           move.l     [A7 + 0x190], [A7 + 0x19C]
  8372. label00005522:
  8373. 00005522  4A43                     tst.w      D3
  8374. 00005524  660A                     bne        +0xC /* 00005530 */
  8375. 00005526  206F 0190                movea.l    A0, [A7 + 0x190]
  8376. 0000552A  B1EF 018C                cmpa.l     A0, [A7 + 0x18C]
  8377. 0000552E  65BC                     bcs        -0x42 /* 000054EC */
  8378. label00005530:
  8379. 00005530  4A43                     tst.w      D3
  8380. 00005532  6600 0122                bne        +0x124 /* 00005656 */
  8381. 00005536  4A57                     tst.w      [A7]
  8382. 00005538  672C                     beq        +0x2E /* 00005566 */
  8383. 0000553A  7062                     moveq.l    D0, 0x62
  8384. 0000553C  C1D7                     muls.w     D0, [A7]
  8385. 0000553E  206F 01EA                movea.l    A0, [A7 + 0x1EA]
  8386. 00005542  D1C0                     add.l      A0, D0
  8387. 00005544  2F48 0002                move.l     [A7 + 0x2], A0
  8388. 00005548  486C 02C6                pea.l      [A4 + 0x2C6]
  8389. 0000554C  486C 02C2                pea.l      [A4 + 0x2C2]
  8390. 00005550  486C 02BE                pea.l      [A4 + 0x2BE]
  8391. 00005554  486C 02BA                pea.l      [A4 + 0x2BA]
  8392. 00005558  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  8393. 0000555C  2F0C                     move.l     -[A7], A4
  8394. 0000555E  4EBA F644                jsr        [PC - 0x9BC /* 00004BA4 */]
  8395. 00005562  4FEF 0018                lea.l      A7, [A7 + 0x18]
  8396. label00005566:
  8397. 00005566  7E00                     moveq.l    D7, 0x00
  8398. label00005568:
  8399. 00005568  486F 016A                pea.l      [A7 + 0x16A]
  8400. 0000556C  206F 000A                movea.l    A0, [A7 + 0xA]
  8401. 00005570  4E90                     jsr        [A0]
  8402. 00005572  4A40                     tst.w      D0
  8403. 00005574  584F                     addq.w     A7, 4
  8404. 00005576  6710                     beq        +0x12 /* 00005588 */
  8405. 00005578  2F6F 016E 0172           move.l     [A7 + 0x172], [A7 + 0x16E]
  8406. 0000557E  BDEF 0172                cmpa.l     A6, [A7 + 0x172]
  8407. 00005582  6226                     bhi        +0x28 /* 000055AA */
  8408. 00005584  6000 00D0                bra        +0xD2 /* 00005656 */
  8409. label00005588:
  8410. 00005588  4A6F 0182                tst.w      [A7 + 0x182]
  8411. 0000558C  6716                     beq        +0x18 /* 000055A4 */
  8412. 0000558E  2F0A                     move.l     -[A7], A2
  8413. 00005590  2F0C                     move.l     -[A7], A4
  8414. 00005592  206F 01E2                movea.l    A0, [A7 + 0x1E2]
  8415. 00005596  4E90                     jsr        [A0]
  8416. 00005598  3600                     move.w     D3, D0
  8417. 0000559A  4A6A 015E                tst.w      [A2 + 0x15E]
  8418. 0000559E  504F                     addq.w     A7, 8
  8419. 000055A0  6600 00B4                bne        +0xB6 /* 00005656 */
  8420. label000055A4:
  8421. 000055A4  2F6F 017E 0172           move.l     [A7 + 0x172], [A7 + 0x17E]
  8422. label000055AA:
  8423. 000055AA  4AAF 01E2                tst.l      [A7 + 0x1E2]
  8424. 000055AE  6700 009A                beq        +0x9C /* 0000564A */
  8425. 000055B2  6000 008A                bra        +0x8C /* 0000563E */
  8426. label000055B6:
  8427. 000055B6  BDEF 0172                cmpa.l     A6, [A7 + 0x172]
  8428. 000055BA  6300 008E                bls        +0x90 /* 0000564A */
  8429. 000055BE  508B                     addq.l     A3, 8
  8430. 000055C0  5284                     addq.l     D4, 1
  8431. 000055C2  B8AF 01E6                cmp.l      D4, [A7 + 0x1E6]
  8432. 000055C6  6D06                     blt        +0x8 /* 000055CE */
  8433. 000055C8  2F4E 016E                move.l     [A7 + 0x16E], A6
  8434. 000055CC  600A                     bra        +0xC /* 000055D8 */
  8435. label000055CE:
  8436. 000055CE  2045                     movea.l    A0, D5
  8437. 000055D0  D1EB 0008                add.l      A0, [A3 + 0x8]
  8438. 000055D4  2F48 016E                move.l     [A7 + 0x16E], A0
  8439. label000055D8:
  8440. 000055D8  BC6B 0006                cmp.w      D6, [A3 + 0x6]
  8441. 000055DC  6748                     beq        +0x4A /* 00005626 */
  8442. 000055DE  7062                     moveq.l    D0, 0x62
  8443. 000055E0  C1EB 0006                muls.w     D0, [A3 + 0x6]
  8444. 000055E4  206F 01EA                movea.l    A0, [A7 + 0x1EA]
  8445. 000055E8  D1C0                     add.l      A0, D0
  8446. 000055EA  2548 014E                move.l     [A2 + 0x14E], A0
  8447. 000055EE  206A 014E                movea.l    A0, [A2 + 0x14E]
  8448. 000055F2  2F68 001E 0006           move.l     [A7 + 0x6], [A0 + 0x1E]
  8449. 000055F8  356B 0006 0130           move.w     [A2 + 0x130], [A3 + 0x6]
  8450. 000055FE  156B 0007 0001           move.b     [A2 + 0x1], [A3 + 0x7]
  8451. 00005604  486C 02C6                pea.l      [A4 + 0x2C6]
  8452. 00005608  486C 02C2                pea.l      [A4 + 0x2C2]
  8453. 0000560C  486C 02BE                pea.l      [A4 + 0x2BE]
  8454. 00005610  486C 02BA                pea.l      [A4 + 0x2BA]
  8455. 00005614  2F2A 014E                move.l     -[A7], [A2 + 0x14E]
  8456. 00005618  2F0C                     move.l     -[A7], A4
  8457. 0000561A  4EBA F588                jsr        [PC - 0xA78 /* 00004BA4 */]
  8458. 0000561E  3C2B 0006                move.w     D6, [A3 + 0x6]
  8459. 00005622  4FEF 0018                lea.l      A7, [A7 + 0x18]
  8460. label00005626:
  8461. 00005626  356B 0004 012E           move.w     [A2 + 0x12E], [A3 + 0x4]
  8462. 0000562C  14AB 0005                move.b     [A2], [A3 + 0x5]
  8463. 00005630  4A6A 012E                tst.w      [A2 + 0x12E]
  8464. 00005634  6606                     bne        +0x8 /* 0000563C */
  8465. 00005636  4A6A 0130                tst.w      [A2 + 0x130]
  8466. 0000563A  6702                     beq        +0x4 /* 0000563E */
  8467. label0000563C:
  8468. 0000563C  7E01                     moveq.l    D7, 0x01
  8469. label0000563E:
  8470. 0000563E  206F 0172                movea.l    A0, [A7 + 0x172]
  8471. 00005642  B1EF 016E                cmpa.l     A0, [A7 + 0x16E]
  8472. 00005646  6400 FF6E                bcc        -0x90 /* 000055B6 */
  8473. label0000564A:
  8474. 0000564A  4A43                     tst.w      D3
  8475. 0000564C  6608                     bne        +0xA /* 00005656 */
  8476. 0000564E  BDEF 0172                cmpa.l     A6, [A7 + 0x172]
  8477. 00005652  6200 FE10                bhi        -0x1EE /* 00005464 */
  8478. label00005656:
  8479. 00005656  486C 02C6                pea.l      [A4 + 0x2C6]
  8480. 0000565A  486C 02C2                pea.l      [A4 + 0x2C2]
  8481. 0000565E  486C 02BE                pea.l      [A4 + 0x2BE]
  8482. 00005662  486C 02BA                pea.l      [A4 + 0x2BA]
  8483. 00005666  42A7                     clr.l      -[A7]
  8484. 00005668  2F0C                     move.l     -[A7], A4
  8485. 0000566A  4EBA F538                jsr        [PC - 0xAC8 /* 00004BA4 */]
  8486. 0000566E  3003                     move.w     D0, D3
  8487. 00005670  4FEF 01BE                lea.l      A7, [A7 + 0x1BE]
  8488. 00005674  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  8489. 00005678  4E75                     rts
  8490. fn0000567A:
  8491. 0000567A  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  8492. 0000567E  4FEF FE92                lea.l      A7, [A7 - 0x16E]
  8493. 00005682  246F 0182                movea.l    A2, [A7 + 0x182]
  8494. 00005686  42AF 016A                clr.l      [A7 + 0x16A]
  8495. 0000568A  99CC                     sub.l      A4, A4
  8496. 0000568C  42AF 0166                clr.l      [A7 + 0x166]
  8497. 00005690  41ED A6B8                lea.l      A0, [A5 - 0x5948]
  8498. 00005694  43D7                     lea.l      A1, [A7]
  8499. 00005696  7057                     moveq.l    D0, 0x57
  8500. label00005698:
  8501. 00005698  22D8                     move.l     [A1]+, [A0]+
  8502. 0000569A  51C8 FFFC                dbf        D0, -0x6 /* 00005698 */
  8503. 0000569E  42AF 0162                clr.l      [A7 + 0x162]
  8504. 000056A2  97CB                     sub.l      A3, A3
  8505. 000056A4  426F 0160                clr.w      [A7 + 0x160]
  8506. 000056A8  7600                     moveq.l    D3, 0x00
  8507. 000056AA  4AAA 02E0                tst.l      [A2 + 0x2E0]
  8508. 000056AE  670C                     beq        +0xE /* 000056BC */
  8509. 000056B0  7000                     moveq.l    D0, 0x00
  8510. 000056B2  4FEF 016E                lea.l      A7, [A7 + 0x16E]
  8511. 000056B6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8512. 000056BA  4E75                     rts
  8513. label000056BC:
  8514. 000056BC  4AAA 02FC                tst.l      [A2 + 0x2FC]
  8515. 000056C0  6734                     beq        +0x36 /* 000056F6 */
  8516. 000056C2  486F 0166                pea.l      [A7 + 0x166]
  8517. 000056C6  486F 016E                pea.l      [A7 + 0x16E]
  8518. 000056CA  2F2A 02A2                move.l     -[A7], [A2 + 0x2A2]
  8519. 000056CE  2F2A 030C                move.l     -[A7], [A2 + 0x30C]
  8520. 000056D2  206A 02FC                movea.l    A0, [A2 + 0x2FC]
  8521. 000056D6  4E90                     jsr        [A0]
  8522. 000056D8  3600                     move.w     D3, D0
  8523. 000056DA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8524. 000056DE  670C                     beq        +0xE /* 000056EC */
  8525. 000056E0  3003                     move.w     D0, D3
  8526. 000056E2  4FEF 016E                lea.l      A7, [A7 + 0x16E]
  8527. 000056E6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8528. 000056EA  4E75                     rts
  8529. label000056EC:
  8530. 000056EC  4AAF 0166                tst.l      [A7 + 0x166]
  8531. 000056F0  6604                     bne        +0x6 /* 000056F6 */
  8532. 000056F2  42AF 016A                clr.l      [A7 + 0x16A]
  8533. label000056F6:
  8534. 000056F6  486F 0160                pea.l      [A7 + 0x160]
  8535. 000056FA  486F 0166                pea.l      [A7 + 0x166]
  8536. 000056FE  2F2A 0310                move.l     -[A7], [A2 + 0x310]
  8537. 00005702  4EBA AD34                jsr        [PC - 0x52CC /* 00000438 */]
  8538. 00005706  42AA 02E8                clr.l      [A2 + 0x2E8]
  8539. 0000570A  257C 0000 1388 02E4      move.l     [A2 + 0x2E4], 0x1388
  8540. 00005712  202A 02E4                move.l     D0, [A2 + 0x2E4]
  8541. 00005716  E788                     lsl        D0, 3
  8542. 00005718  2F00                     move.l     -[A7], D0
  8543. 0000571A  4EBA 03EE                jsr        [PC + 0x3EE /* 00005B0A */]
  8544. 0000571E  2548 02E0                move.l     [A2 + 0x2E0], A0
  8545. 00005722  4AAA 02E0                tst.l      [A2 + 0x2E0]
  8546. 00005726  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8547. 0000572A  660C                     bne        +0xE /* 00005738 */
  8548. 0000572C  7001                     moveq.l    D0, 0x01
  8549. 0000572E  4FEF 016E                lea.l      A7, [A7 + 0x16E]
  8550. 00005732  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8551. 00005736  4E75                     rts
  8552. label00005738:
  8553. 00005738  3F3C 0001                move.w     -[A7], 0x1
  8554. 0000573C  2F0A                     move.l     -[A7], A2
  8555. 0000573E  4EBA F3E8                jsr        [PC - 0xC18 /* 00004B28 */]
  8556. 00005742  256A 02DC 0320           move.l     [A2 + 0x320], [A2 + 0x2DC]
  8557. 00005748  4AAF 0170                tst.l      [A7 + 0x170]
  8558. 0000574C  5C4F                     addq.w     A7, 6
  8559. 0000574E  670C                     beq        +0xE /* 0000575C */
  8560. 00005750  2F2F 016A                move.l     -[A7], [A7 + 0x16A]
  8561. 00005754  4EBA 0408                jsr        [PC + 0x408 /* 00005B5E */]
  8562. 00005758  2848                     movea.l    A4, A0
  8563. 0000575A  584F                     addq.w     A7, 4
  8564. label0000575C:
  8565. 0000575C  2F2F 0162                move.l     -[A7], [A7 + 0x162]
  8566. 00005760  4EBA 03FC                jsr        [PC + 0x3FC /* 00005B5E */]
  8567. 00005764  2648                     movea.l    A3, A0
  8568. 00005766  3F2F 0164                move.w     -[A7], [A7 + 0x164]
  8569. 0000576A  2F0B                     move.l     -[A7], A3
  8570. 0000576C  2F2F 0170                move.l     -[A7], [A7 + 0x170]
  8571. 00005770  2F0C                     move.l     -[A7], A4
  8572. 00005772  486F 0012                pea.l      [A7 + 0x12]
  8573. 00005776  486D EDD8                pea.l      [A5 - 0x1228]
  8574. 0000577A  2F2A 02D8                move.l     -[A7], [A2 + 0x2D8]
  8575. 0000577E  2F2A 02D4                move.l     -[A7], [A2 + 0x2D4]
  8576. 00005782  2F0A                     move.l     -[A7], A2
  8577. 00005784  4EBA FBB6                jsr        [PC - 0x44A /* 0000533C */]
  8578. 00005788  3600                     move.w     D3, D0
  8579. 0000578A  4AAF 0190                tst.l      [A7 + 0x190]
  8580. 0000578E  4FEF 0026                lea.l      A7, [A7 + 0x26]
  8581. 00005792  670A                     beq        +0xC /* 0000579E */
  8582. 00005794  2F2F 016A                move.l     -[A7], [A7 + 0x16A]
  8583. 00005798  4EBA 03EA                jsr        [PC + 0x3EA /* 00005B84 */]
  8584. 0000579C  584F                     addq.w     A7, 4
  8585. label0000579E:
  8586. 0000579E  2F2F 0162                move.l     -[A7], [A7 + 0x162]
  8587. 000057A2  4EBA 03E0                jsr        [PC + 0x3E0 /* 00005B84 */]
  8588. 000057A6  97CB                     sub.l      A3, A3
  8589. 000057A8  4267                     clr.w      -[A7]
  8590. 000057AA  2F0A                     move.l     -[A7], A2
  8591. 000057AC  4EBA F37A                jsr        [PC - 0xC86 /* 00004B28 */]
  8592. 000057B0  42AA 0320                clr.l      [A2 + 0x320]
  8593. 000057B4  4AAA 0300                tst.l      [A2 + 0x300]
  8594. 000057B8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8595. 000057BC  6716                     beq        +0x18 /* 000057D4 */
  8596. 000057BE  2F2F 016A                move.l     -[A7], [A7 + 0x16A]
  8597. 000057C2  2F2A 02A2                move.l     -[A7], [A2 + 0x2A2]
  8598. 000057C6  2F2A 030C                move.l     -[A7], [A2 + 0x30C]
  8599. 000057CA  206A 0300                movea.l    A0, [A2 + 0x300]
  8600. 000057CE  4E90                     jsr        [A0]
  8601. 000057D0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8602. label000057D4:
  8603. 000057D4  3003                     move.w     D0, D3
  8604. 000057D6  4FEF 016E                lea.l      A7, [A7 + 0x16E]
  8605. 000057DA  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8606. 000057DE  4E75                     rts
  8607. 000057E0  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  8608. 000057E4  514F                     subq.w     A7, 8
  8609. 000057E6  246F 0020                movea.l    A2, [A7 + 0x20]
  8610. 000057EA  266F 0024                movea.l    A3, [A7 + 0x24]
  8611. 000057EE  7600                     moveq.l    D3, 0x00
  8612. 000057F0  99CC                     sub.l      A4, A4
  8613. 000057F2  7600                     moveq.l    D3, 0x00
  8614. 000057F4  2EAD A6B0                move.l     [A7], [A5 - 0x5950]
  8615. 000057F8  2F6D A6B4 0004           move.l     [A7 + 0x4], [A5 - 0x594C]
  8616. 000057FE  42AA 0330                clr.l      [A2 + 0x330]
  8617. 00005802  254B 0328                move.l     [A2 + 0x328], A3
  8618. 00005806  42AA 0320                clr.l      [A2 + 0x320]
  8619. 0000580A  42AA 0324                clr.l      [A2 + 0x324]
  8620. 0000580E  42AA 032C                clr.l      [A2 + 0x32C]
  8621. 00005812  42AA 02B6                clr.l      [A2 + 0x2B6]
  8622. 00005816  256B 0018 02B2           move.l     [A2 + 0x2B2], [A3 + 0x18]
  8623. 0000581C  202A 02B2                move.l     D0, [A2 + 0x2B2]
  8624. 00005820  E788                     lsl        D0, 3
  8625. 00005822  2F00                     move.l     -[A7], D0
  8626. 00005824  4EBA 02E4                jsr        [PC + 0x2E4 /* 00005B0A */]
  8627. 00005828  2548 02AE                move.l     [A2 + 0x2AE], A0
  8628. 0000582C  4AAA 02AE                tst.l      [A2 + 0x2AE]
  8629. 00005830  584F                     addq.w     A7, 4
  8630. 00005832  660A                     bne        +0xC /* 0000583E */
  8631. 00005834  7001                     moveq.l    D0, 0x01
  8632. 00005836  504F                     addq.w     A7, 8
  8633. 00005838  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  8634. 0000583C  4E75                     rts
  8635. label0000583E:
  8636. 0000583E  3F3C 0001                move.w     -[A7], 0x1
  8637. 00005842  2F0A                     move.l     -[A7], A2
  8638. 00005844  4EBA F320                jsr        [PC - 0xCE0 /* 00004B66 */]
  8639. 00005848  256A 02AA 0320           move.l     [A2 + 0x320], [A2 + 0x2AA]
  8640. 0000584E  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  8641. 00005852  4EBA 030A                jsr        [PC + 0x30A /* 00005B5E */]
  8642. 00005856  2548 032C                move.l     [A2 + 0x32C], A0
  8643. 0000585A  2F0A                     move.l     -[A7], A2
  8644. 0000585C  4EBA F4A8                jsr        [PC - 0xB58 /* 00004D06 */]
  8645. 00005860  3600                     move.w     D3, D0
  8646. 00005862  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8647. 00005866  660A                     bne        +0xC /* 00005872 */
  8648. 00005868  2F0A                     move.l     -[A7], A2
  8649. 0000586A  4EBA F53A                jsr        [PC - 0xAC6 /* 00004DA6 */]
  8650. 0000586E  3600                     move.w     D3, D0
  8651. 00005870  584F                     addq.w     A7, 4
  8652. label00005872:
  8653. 00005872  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  8654. 00005876  4EBA 030C                jsr        [PC + 0x30C /* 00005B84 */]
  8655. 0000587A  4267                     clr.w      -[A7]
  8656. 0000587C  2F0A                     move.l     -[A7], A2
  8657. 0000587E  4EBA F2E6                jsr        [PC - 0xD1A /* 00004B66 */]
  8658. 00005882  4A43                     tst.w      D3
  8659. 00005884  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8660. 00005888  6622                     bne        +0x24 /* 000058AC */
  8661. 0000588A  202A 02B6                move.l     D0, [A2 + 0x2B6]
  8662. 0000588E  B0AA 02B2                cmp.l      D0, [A2 + 0x2B2]
  8663. 00005892  6C18                     bge        +0x1A /* 000058AC */
  8664. 00005894  282A 02B6                move.l     D4, [A2 + 0x2B6]
  8665. 00005898  E78C                     lsl        D4, 3
  8666. 0000589A  2F04                     move.l     -[A7], D4
  8667. 0000589C  2F2A 02AE                move.l     -[A7], [A2 + 0x2AE]
  8668. 000058A0  4EBA 02FE                jsr        [PC + 0x2FE /* 00005BA0 */]
  8669. 000058A4  256A 02B6 02B2           move.l     [A2 + 0x2B2], [A2 + 0x2B6]
  8670. 000058AA  504F                     addq.w     A7, 8
  8671. label000058AC:
  8672. 000058AC  3003                     move.w     D0, D3
  8673. 000058AE  504F                     addq.w     A7, 8
  8674. 000058B0  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  8675. 000058B4  4E75                     rts
  8676. 000058B6  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  8677. 000058BA  246F 0018                movea.l    A2, [A7 + 0x18]
  8678. 000058BE  286F 001C                movea.l    A4, [A7 + 0x1C]
  8679. 000058C2  7600                     moveq.l    D3, 0x00
  8680. 000058C4  266C 0156                movea.l    A3, [A4 + 0x156]
  8681. 000058C8  206C 0156                movea.l    A0, [A4 + 0x156]
  8682. 000058CC  4A68 0018                tst.w      [A0 + 0x18]
  8683. 000058D0  6608                     bne        +0xA /* 000058DA */
  8684. 000058D2  7000                     moveq.l    D0, 0x00
  8685. 000058D4  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  8686. 000058D8  4E75                     rts
  8687. label000058DA:
  8688. 000058DA  4AAA 02BE                tst.l      [A2 + 0x2BE]
  8689. 000058DE  6726                     beq        +0x28 /* 00005906 */
  8690. 000058E0  206C 014E                movea.l    A0, [A4 + 0x14E]
  8691. 000058E4  2C68 0022                movea.l    A6, [A0 + 0x22]
  8692. 000058E8  2F0C                     move.l     -[A7], A4
  8693. 000058EA  2F2A 02BE                move.l     -[A7], [A2 + 0x2BE]
  8694. 000058EE  2F0E                     move.l     -[A7], A6
  8695. 000058F0  2F0A                     move.l     -[A7], A2
  8696. 000058F2  4EBA F068                jsr        [PC - 0xF98 /* 0000495C */]
  8697. 000058F6  4A40                     tst.w      D0
  8698. 000058F8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8699. 000058FC  6708                     beq        +0xA /* 00005906 */
  8700. 000058FE  7000                     moveq.l    D0, 0x00
  8701. 00005900  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  8702. 00005904  4E75                     rts
  8703. label00005906:
  8704. 00005906  206B 000C                movea.l    A0, [A3 + 0xC]
  8705. 0000590A  91EA 02D4                sub.l      A0, [A2 + 0x2D4]
  8706. 0000590E  226A 0320                movea.l    A1, [A2 + 0x320]
  8707. 00005912  2288                     move.l     [A1], A0
  8708. 00005914  206B 0014                movea.l    A0, [A3 + 0x14]
  8709. 00005918  91EB 000C                sub.l      A0, [A3 + 0xC]
  8710. 0000591C  226A 0320                movea.l    A1, [A2 + 0x320]
  8711. 00005920  2011                     move.l     D0, [A1]
  8712. 00005922  D088                     add.l      D0, A0
  8713. 00005924  206A 0320                movea.l    A0, [A2 + 0x320]
  8714. 00005928  2140 0004                move.l     [A0 + 0x4], D0
  8715. 0000592C  50AA 0320                addq.l     [A2 + 0x320], 8
  8716. 00005930  52AA 02E8                addq.l     [A2 + 0x2E8], 1
  8717. 00005934  202A 02E8                move.l     D0, [A2 + 0x2E8]
  8718. 00005938  B0AA 02E4                cmp.l      D0, [A2 + 0x2E4]
  8719. 0000593C  6D0A                     blt        +0xC /* 00005948 */
  8720. 0000593E  2F0A                     move.l     -[A7], A2
  8721. 00005940  4EBA F36A                jsr        [PC - 0xC96 /* 00004CAC */]
  8722. 00005944  3600                     move.w     D3, D0
  8723. 00005946  584F                     addq.w     A7, 4
  8724. label00005948:
  8725. 00005948  7000                     moveq.l    D0, 0x00
  8726. 0000594A  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  8727. 0000594E  4E75                     rts
  8728. fn00005950:
  8729. 00005950  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  8730. 00005954  246F 0014                movea.l    A2, [A7 + 0x14]
  8731. 00005958  266F 0018                movea.l    A3, [A7 + 0x18]
  8732. 0000595C  200B                     move.l     D0, A3
  8733. 0000595E  660C                     bne        +0xE /* 0000596C */
  8734. 00005960  42AD A6AC                clr.l      [A5 - 0x5954]
  8735. 00005964  7000                     moveq.l    D0, 0x00
  8736. 00005966  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8737. 0000596A  4E75                     rts
  8738. label0000596C:
  8739. 0000596C  206A 0328                movea.l    A0, [A2 + 0x328]
  8740. 00005970  202A 0330                move.l     D0, [A2 + 0x330]
  8741. 00005974  B0A8 0018                cmp.l      D0, [A0 + 0x18]
  8742. 00005978  6D0E                     blt        +0x10 /* 00005988 */
  8743. 0000597A  377C 0001 015E           move.w     [A3 + 0x15E], 0x1
  8744. 00005980  7000                     moveq.l    D0, 0x00
  8745. 00005982  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8746. 00005986  4E75                     rts
  8747. label00005988:
  8748. 00005988  4AAA 02BE                tst.l      [A2 + 0x2BE]
  8749. 0000598C  6726                     beq        +0x28 /* 000059B4 */
  8750. 0000598E  206B 014E                movea.l    A0, [A3 + 0x14E]
  8751. 00005992  2868 0022                movea.l    A4, [A0 + 0x22]
  8752. 00005996  2F0B                     move.l     -[A7], A3
  8753. 00005998  2F2A 02BE                move.l     -[A7], [A2 + 0x2BE]
  8754. 0000599C  2F0C                     move.l     -[A7], A4
  8755. 0000599E  2F0A                     move.l     -[A7], A2
  8756. 000059A0  4EBA EFBA                jsr        [PC - 0x1046 /* 0000495C */]
  8757. 000059A4  4A40                     tst.w      D0
  8758. 000059A6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8759. 000059AA  6708                     beq        +0xA /* 000059B4 */
  8760. 000059AC  7000                     moveq.l    D0, 0x00
  8761. 000059AE  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8762. 000059B2  4E75                     rts
  8763. label000059B4:
  8764. 000059B4  206A 032C                movea.l    A0, [A2 + 0x32C]
  8765. 000059B8  202D A6AC                move.l     D0, [A5 - 0x5954]
  8766. 000059BC  B090                     cmp.l      D0, [A0]
  8767. 000059BE  6600 009A                bne        +0x9C /* 00005A5A */
  8768. 000059C2  206A 032C                movea.l    A0, [A2 + 0x32C]
  8769. 000059C6  2610                     move.l     D3, [A0]
  8770. 000059C8  286B 0156                movea.l    A4, [A3 + 0x156]
  8771. 000059CC  206C 000C                movea.l    A0, [A4 + 0xC]
  8772. 000059D0  91EA 02D4                sub.l      A0, [A2 + 0x2D4]
  8773. 000059D4  226A 0320                movea.l    A1, [A2 + 0x320]
  8774. 000059D8  2288                     move.l     [A1], A0
  8775. 000059DA  206C 0014                movea.l    A0, [A4 + 0x14]
  8776. 000059DE  91EA 02D4                sub.l      A0, [A2 + 0x2D4]
  8777. 000059E2  226A 0320                movea.l    A1, [A2 + 0x320]
  8778. 000059E6  2348 0004                move.l     [A1 + 0x4], A0
  8779. 000059EA  50AA 0320                addq.l     [A2 + 0x320], 8
  8780. 000059EE  52AA 02B6                addq.l     [A2 + 0x2B6], 1
  8781. 000059F2  52AA 0330                addq.l     [A2 + 0x330], 1
  8782. 000059F6  202A 02B6                move.l     D0, [A2 + 0x2B6]
  8783. 000059FA  B0AA 02B2                cmp.l      D0, [A2 + 0x2B2]
  8784. 000059FE  6D0E                     blt        +0x10 /* 00005A0E */
  8785. 00005A00  377C 0001 015E           move.w     [A3 + 0x15E], 0x1
  8786. 00005A06  7000                     moveq.l    D0, 0x00
  8787. 00005A08  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8788. 00005A0C  4E75                     rts
  8789. label00005A0E:
  8790. 00005A0E  700C                     moveq.l    D0, 0x0C
  8791. 00005A10  D1AA 032C                add.l      [A2 + 0x32C], D0
  8792. 00005A14  600A                     bra        +0xC /* 00005A20 */
  8793. label00005A16:
  8794. 00005A16  700C                     moveq.l    D0, 0x0C
  8795. 00005A18  D1AA 032C                add.l      [A2 + 0x32C], D0
  8796. 00005A1C  52AA 0330                addq.l     [A2 + 0x330], 1
  8797. label00005A20:
  8798. 00005A20  206A 032C                movea.l    A0, [A2 + 0x32C]
  8799. 00005A24  4A90                     tst.l      [A0]
  8800. 00005A26  6D08                     blt        +0xA /* 00005A30 */
  8801. 00005A28  206A 032C                movea.l    A0, [A2 + 0x32C]
  8802. 00005A2C  B690                     cmp.l      D3, [A0]
  8803. 00005A2E  660E                     bne        +0x10 /* 00005A3E */
  8804. label00005A30:
  8805. 00005A30  206A 0328                movea.l    A0, [A2 + 0x328]
  8806. 00005A34  202A 0330                move.l     D0, [A2 + 0x330]
  8807. 00005A38  B0A8 0018                cmp.l      D0, [A0 + 0x18]
  8808. 00005A3C  6DD8                     blt        -0x26 /* 00005A16 */
  8809. label00005A3E:
  8810. 00005A3E  206A 0328                movea.l    A0, [A2 + 0x328]
  8811. 00005A42  202A 0330                move.l     D0, [A2 + 0x330]
  8812. 00005A46  B0A8 0018                cmp.l      D0, [A0 + 0x18]
  8813. 00005A4A  6D0E                     blt        +0x10 /* 00005A5A */
  8814. 00005A4C  377C 0001 015E           move.w     [A3 + 0x15E], 0x1
  8815. 00005A52  7000                     moveq.l    D0, 0x00
  8816. 00005A54  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8817. 00005A58  4E75                     rts
  8818. label00005A5A:
  8819. 00005A5A  52AD A6AC                addq.l     [A5 - 0x5954], 1
  8820. 00005A5E  52AB 0136                addq.l     [A3 + 0x136], 1
  8821. 00005A62  7000                     moveq.l    D0, 0x00
  8822. 00005A64  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8823. 00005A68  4E75                     rts
  8824. fn00005A6A:
  8825. 00005A6A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  8826. 00005A6E  286F 0028                movea.l    A4, [A7 + 0x28]
  8827. 00005A72  206C 0328                movea.l    A0, [A4 + 0x328]
  8828. 00005A76  2828 0018                move.l     D4, [A0 + 0x18]
  8829. 00005A7A  7600                     moveq.l    D3, 0x00
  8830. 00005A7C  7C00                     moveq.l    D6, 0x00
  8831. 00005A7E  2E2C 02E8                move.l     D7, [A4 + 0x2E8]
  8832. 00005A82  246C 032C                movea.l    A2, [A4 + 0x32C]
  8833. 00005A86  266C 02DC                movea.l    A3, [A4 + 0x2DC]
  8834. 00005A8A  2C6C 0320                movea.l    A6, [A4 + 0x320]
  8835. 00005A8E  6034                     bra        +0x36 /* 00005AC4 */
  8836. label00005A90:
  8837. 00005A90  BC92                     cmp.l      D6, [A2]
  8838. 00005A92  662C                     bne        +0x2E /* 00005AC0 */
  8839. 00005A94  2A06                     move.l     D5, D6
  8840. 00005A96  204E                     movea.l    A0, A6
  8841. 00005A98  508E                     addq.l     A6, 8
  8842. 00005A9A  2093                     move.l     [A0], [A3]
  8843. 00005A9C  216B 0004 0004           move.l     [A0 + 0x4], [A3 + 0x4]
  8844. 00005AA2  52AC 02B6                addq.l     [A4 + 0x2B6], 1
  8845. 00005AA6  700C                     moveq.l    D0, 0x0C
  8846. 00005AA8  D5C0                     add.l      A2, D0
  8847. 00005AAA  5283                     addq.l     D3, 1
  8848. 00005AAC  6006                     bra        +0x8 /* 00005AB4 */
  8849. label00005AAE:
  8850. 00005AAE  700C                     moveq.l    D0, 0x0C
  8851. 00005AB0  D5C0                     add.l      A2, D0
  8852. 00005AB2  5283                     addq.l     D3, 1
  8853. label00005AB4:
  8854. 00005AB4  4A92                     tst.l      [A2]
  8855. 00005AB6  6D04                     blt        +0x6 /* 00005ABC */
  8856. 00005AB8  BA92                     cmp.l      D5, [A2]
  8857. 00005ABA  6604                     bne        +0x6 /* 00005AC0 */
  8858. label00005ABC:
  8859. 00005ABC  B684                     cmp.l      D3, D4
  8860. 00005ABE  6DEE                     blt        -0x10 /* 00005AAE */
  8861. label00005AC0:
  8862. 00005AC0  508B                     addq.l     A3, 8
  8863. 00005AC2  5286                     addq.l     D6, 1
  8864. label00005AC4:
  8865. 00005AC4  B684                     cmp.l      D3, D4
  8866. 00005AC6  6C04                     bge        +0x6 /* 00005ACC */
  8867. 00005AC8  BC87                     cmp.l      D6, D7
  8868. 00005ACA  6DC4                     blt        -0x3A /* 00005A90 */
  8869. label00005ACC:
  8870. 00005ACC  7000                     moveq.l    D0, 0x00
  8871. 00005ACE  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  8872. 00005AD2  4E75                     rts
  8873. 00005AD4  42AD A836                clr.l      [A5 - 0x57CA]
  8874. 00005AD8  7000                     moveq.l    D0, 0x00
  8875. 00005ADA  4E75                     rts
  8876. 00005ADC  7000                     moveq.l    D0, 0x00
  8877. 00005ADE  4E75                     rts
  8878. fn00005AE0:
  8879. 00005AE0  302D A838                move.w     D0, [A5 - 0x57C8]
  8880. 00005AE4  4E75                     rts
  8881. fn00005AE6:
  8882. 00005AE6  594F                     subq.w     A7, 4
  8883. 00005AE8  202F 0008                move.l     D0, [A7 + 0x8]
  8884. 00005AEC  A122                     syscall    NewHandle, flags=1
  8885. 00005AEE  2E88                     move.l     [A7], A0
  8886. 00005AF0  42AD A836                clr.l      [A5 - 0x57CA]
  8887. 00005AF4  554F                     subq.w     A7, 2
  8888. 00005AF6  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8889. 00005AFA  301F                     move.w     D0, [A7]+
  8890. 00005AFC  6706                     beq        +0x8 /* 00005B04 */
  8891. 00005AFE  7001                     moveq.l    D0, 0x01
  8892. 00005B00  2B40 A836                move.l     [A5 - 0x57CA], D0
  8893. label00005B04:
  8894. 00005B04  2057                     movea.l    A0, [A7]
  8895. 00005B06  584F                     addq.w     A7, 4
  8896. 00005B08  4E75                     rts
  8897. fn00005B0A:
  8898. 00005B0A  2F0A                     move.l     -[A7], A2
  8899. 00005B0C  95CA                     sub.l      A2, A2
  8900. 00005B0E  42AD A836                clr.l      [A5 - 0x57CA]
  8901. 00005B12  202F 0008                move.l     D0, [A7 + 0x8]
  8902. 00005B16  A122                     syscall    NewHandle, flags=1
  8903. 00005B18  2448                     movea.l    A2, A0
  8904. 00005B1A  554F                     subq.w     A7, 2
  8905. 00005B1C  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8906. 00005B20  301F                     move.w     D0, [A7]+
  8907. 00005B22  6708                     beq        +0xA /* 00005B2C */
  8908. 00005B24  7001                     moveq.l    D0, 0x01
  8909. 00005B26  2B40 A836                move.l     [A5 - 0x57CA], D0
  8910. 00005B2A  6010                     bra        +0x12 /* 00005B3C */
  8911. label00005B2C:
  8912. 00005B2C  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  8913. 00005B30  42A7                     clr.l      -[A7]
  8914. 00005B32  2F12                     move.l     -[A7], [A2]
  8915. 00005B34  4EAD D94C                jsr        [A5 - 0x26B4]
  8916. 00005B38  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8917. label00005B3C:
  8918. 00005B3C  204A                     movea.l    A0, A2
  8919. 00005B3E  245F                     movea.l    A2, [A7]+
  8920. 00005B40  4E75                     rts
  8921. fn00005B42:
  8922. 00005B42  42AD A836                clr.l      [A5 - 0x57CA]
  8923. 00005B46  206F 0004                movea.l    A0, [A7 + 0x4]
  8924. 00005B4A  A023                     syscall    DisposHandle/DisposeHandle
  8925. 00005B4C  554F                     subq.w     A7, 2
  8926. 00005B4E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8927. 00005B52  301F                     move.w     D0, [A7]+
  8928. 00005B54  6706                     beq        +0x8 /* 00005B5C */
  8929. 00005B56  7001                     moveq.l    D0, 0x01
  8930. 00005B58  2B40 A836                move.l     [A5 - 0x57CA], D0
  8931. label00005B5C:
  8932. 00005B5C  4E75                     rts
  8933. fn00005B5E:
  8934. 00005B5E  42AD A836                clr.l      [A5 - 0x57CA]
  8935. 00005B62  206F 0004                movea.l    A0, [A7 + 0x4]
  8936. 00005B66  A029                     syscall    HLock
  8937. 00005B68  554F                     subq.w     A7, 2
  8938. 00005B6A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8939. 00005B6E  301F                     move.w     D0, [A7]+
  8940. 00005B70  670A                     beq        +0xC /* 00005B7C */
  8941. 00005B72  7001                     moveq.l    D0, 0x01
  8942. 00005B74  2B40 A836                move.l     [A5 - 0x57CA], D0
  8943. 00005B78  91C8                     sub.l      A0, A0
  8944. 00005B7A  4E75                     rts
  8945. label00005B7C:
  8946. 00005B7C  206F 0004                movea.l    A0, [A7 + 0x4]
  8947. 00005B80  2050                     movea.l    A0, [A0]
  8948. 00005B82  4E75                     rts
  8949. fn00005B84:
  8950. 00005B84  42AD A836                clr.l      [A5 - 0x57CA]
  8951. 00005B88  206F 0004                movea.l    A0, [A7 + 0x4]
  8952. 00005B8C  A02A                     syscall    HUnlock
  8953. 00005B8E  554F                     subq.w     A7, 2
  8954. 00005B90  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8955. 00005B94  301F                     move.w     D0, [A7]+
  8956. 00005B96  6706                     beq        +0x8 /* 00005B9E */
  8957. 00005B98  7001                     moveq.l    D0, 0x01
  8958. 00005B9A  2B40 A836                move.l     [A5 - 0x57CA], D0
  8959. label00005B9E:
  8960. 00005B9E  4E75                     rts
  8961. fn00005BA0:
  8962. 00005BA0  42AD A836                clr.l      [A5 - 0x57CA]
  8963. 00005BA4  206F 0004                movea.l    A0, [A7 + 0x4]
  8964. 00005BA8  202F 0008                move.l     D0, [A7 + 0x8]
  8965. 00005BAC  A024                     syscall    SetHandleSize
  8966. 00005BAE  554F                     subq.w     A7, 2
  8967. 00005BB0  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  8968. 00005BB4  301F                     move.w     D0, [A7]+
  8969. 00005BB6  6706                     beq        +0x8 /* 00005BBE */
  8970. 00005BB8  7001                     moveq.l    D0, 0x01
  8971. 00005BBA  2B40 A836                move.l     [A5 - 0x57CA], D0
  8972. label00005BBE:
  8973. 00005BBE  206F 0004                movea.l    A0, [A7 + 0x4]
  8974. 00005BC2  4E75                     rts
  8975. 00005BC4  2F0A                     move.l     -[A7], A2
  8976. 00005BC6  42AD A836                clr.l      [A5 - 0x57CA]
  8977. 00005BCA  202F 0008                move.l     D0, [A7 + 0x8]
  8978. 00005BCE  A122                     syscall    NewHandle, flags=1
  8979. 00005BD0  2448                     movea.l    A2, A0
  8980. 00005BD2  2008                     move.l     D0, A0
  8981. 00005BD4  670A                     beq        +0xC /* 00005BE0 */
  8982. 00005BD6  204A                     movea.l    A0, A2
  8983. 00005BD8  A029                     syscall    HLock
  8984. 00005BDA  2052                     movea.l    A0, [A2]
  8985. 00005BDC  245F                     movea.l    A2, [A7]+
  8986. 00005BDE  4E75                     rts
  8987. label00005BE0:
  8988. 00005BE0  7001                     moveq.l    D0, 0x01
  8989. 00005BE2  2B40 A836                move.l     [A5 - 0x57CA], D0
  8990. 00005BE6  91C8                     sub.l      A0, A0
  8991. 00005BE8  245F                     movea.l    A2, [A7]+
  8992. 00005BEA  4E75                     rts
  8993. 00005BEC  2F0A                     move.l     -[A7], A2
  8994. 00005BEE  42AD A836                clr.l      [A5 - 0x57CA]
  8995. 00005BF2  206F 0008                movea.l    A0, [A7 + 0x8]
  8996. 00005BF6  A128                     syscall    RecoverHandle, flags=1
  8997. 00005BF8  2448                     movea.l    A2, A0
  8998. 00005BFA  2008                     move.l     D0, A0
  8999. 00005BFC  6716                     beq        +0x18 /* 00005C14 */
  9000. 00005BFE  204A                     movea.l    A0, A2
  9001. 00005C00  A02A                     syscall    HUnlock
  9002. 00005C02  204A                     movea.l    A0, A2
  9003. 00005C04  202F 000C                move.l     D0, [A7 + 0xC]
  9004. 00005C08  A024                     syscall    SetHandleSize
  9005. 00005C0A  204A                     movea.l    A0, A2
  9006. 00005C0C  A029                     syscall    HLock
  9007. 00005C0E  2052                     movea.l    A0, [A2]
  9008. 00005C10  245F                     movea.l    A2, [A7]+
  9009. 00005C12  4E75                     rts
  9010. label00005C14:
  9011. 00005C14  7001                     moveq.l    D0, 0x01
  9012. 00005C16  2B40 A836                move.l     [A5 - 0x57CA], D0
  9013. 00005C1A  91C8                     sub.l      A0, A0
  9014. 00005C1C  245F                     movea.l    A2, [A7]+
  9015. 00005C1E  4E75                     rts
  9016. fn00005C20:
  9017. 00005C20  2F0A                     move.l     -[A7], A2
  9018. 00005C22  42AD A836                clr.l      [A5 - 0x57CA]
  9019. 00005C26  206F 0008                movea.l    A0, [A7 + 0x8]
  9020. 00005C2A  A128                     syscall    RecoverHandle, flags=1
  9021. 00005C2C  2448                     movea.l    A2, A0
  9022. 00005C2E  2008                     move.l     D0, A0
  9023. 00005C30  670A                     beq        +0xC /* 00005C3C */
  9024. 00005C32  204A                     movea.l    A0, A2
  9025. 00005C34  A02A                     syscall    HUnlock
  9026. 00005C36  204A                     movea.l    A0, A2
  9027. 00005C38  A023                     syscall    DisposHandle/DisposeHandle
  9028. 00005C3A  6006                     bra        +0x8 /* 00005C42 */
  9029. label00005C3C:
  9030. 00005C3C  7001                     moveq.l    D0, 0x01
  9031. 00005C3E  2B40 A836                move.l     [A5 - 0x57CA], D0
  9032. label00005C42:
  9033. 00005C42  245F                     movea.l    A2, [A7]+
  9034. 00005C44  4E75                     rts
  9035. 00005C46  0000 0000                ori.b      D0, 0x0
  9036. 00005C4A  0000 0000                ori.b      D0, 0x0
  9037. 00005C4E  0000 0000                ori.b      D0, 0x0
  9038.